Spaces:
Sleeping
Sleeping
amirkhanbloch
commited on
Commit
•
3f01936
1
Parent(s):
4489bc7
Update app.py
Browse files
app.py
CHANGED
@@ -11,12 +11,12 @@ genai.configure(api_key=os.getenv("GOOGLE_API_KEY"))
|
|
11 |
input_prompt="""
|
12 |
"You are an expert in computer vision and agriculture who can easily predict the disease of the plant. "
|
13 |
"Analyze the following image and provide 7 outputs in a structured format: "
|
14 |
-
"1. Crop
|
15 |
-
"2.
|
16 |
"3. Type of disease (if any), "
|
17 |
"4. How confident out of 100% whether image is healthy or infected "
|
18 |
"5. Reason for the disease such as whether it is happening due to fungus, bacteria, insect bite, poor nutrition, etc., "
|
19 |
-
"6.
|
20 |
"7. Pest Life Stage."
|
21 |
"""
|
22 |
|
|
|
11 |
input_prompt="""
|
12 |
"You are an expert in computer vision and agriculture who can easily predict the disease of the plant. "
|
13 |
"Analyze the following image and provide 7 outputs in a structured format: "
|
14 |
+
"1. Crop : , "
|
15 |
+
"2. Infected or Healthy : , "
|
16 |
"3. Type of disease (if any), "
|
17 |
"4. How confident out of 100% whether image is healthy or infected "
|
18 |
"5. Reason for the disease such as whether it is happening due to fungus, bacteria, insect bite, poor nutrition, etc., "
|
19 |
+
"6. Name of Insecticides."
|
20 |
"7. Pest Life Stage."
|
21 |
"""
|
22 |
|