Spaces:
Running
Running
shubham5027
commited on
Update app.py
Browse files
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
|
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')
|