RushiMane2003 commited on
Commit
81fa5a5
·
verified ·
1 Parent(s): 12d4760

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -224,7 +224,9 @@ def analyze_plant_image(image_path, plant_name, language):
224
  Only return the JSON data and nothing else. Ensure the JSON is valid and properly formatted.
225
  If the plant appears completely healthy, set is_healthy to true and include an empty results array.
226
  Additionally, provide the response in {language} language.
 
227
  and at end show which all data from feedback was taken into consideration and if no data was taken so no data.
 
228
  """
229
 
230
  # Send request to Gemini API
 
224
  Only return the JSON data and nothing else. Ensure the JSON is valid and properly formatted.
225
  If the plant appears completely healthy, set is_healthy to true and include an empty results array.
226
  Additionally, provide the response in {language} language.
227
+ while provide the response in {language} translate the keys also in the json to {language}.
228
  and at end show which all data from feedback was taken into consideration and if no data was taken so no data.
229
+ Addition mostly the user Will be an Indian so the Crop images will also be from india so do the predictions accordingly.
230
  """
231
 
232
  # Send request to Gemini API