shubham5027 commited on
Commit
720fed1
·
verified ·
1 Parent(s): 3e00c58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def get_gemini_repsonse(input,prompt):
20
  response=model.generate_content([input,prompt])
21
  return response.text
22
 
23
- input_prompt= """You are an farming expert and i want some remedial and preventive information about given tomato plant disease. give me remedial informaion for appropriate environmental condition , soil condition and what pesticides and fertilizers to use. give the information in such away that it is easy for a farmer to understand if possible in hindi"""
24
 
25
  MODEL = tf.keras.models.load_model('./potato_trained_models/1/')
26
  TOMATO_MODEL = tf.keras.models.load_model('./tomato_trained_models/1')
 
20
  response=model.generate_content([input,prompt])
21
  return response.text
22
 
23
+ input_prompt= """You are an farming expert and i want some remedial and preventive information about given plant disease. give me remedial informaion for appropriate environmental condition for that particular provided disease , soil condition and what pesticides and fertilizers to use. give the information in such away that it is easy for a farmer to understand in hindi and english one after other"""
24
 
25
  MODEL = tf.keras.models.load_model('./potato_trained_models/1/')
26
  TOMATO_MODEL = tf.keras.models.load_model('./tomato_trained_models/1')