Spaces:
Build error
Build error
Commit ·
d324a64
1
Parent(s): 1590642
Update app.py
Browse files
app.py
CHANGED
|
@@ -61,7 +61,8 @@ def cause(img):
|
|
| 61 |
if res == "powdery-mildew":
|
| 62 |
cause = "The causes are high humidity."
|
| 63 |
sug=listToString(suggestions)
|
| 64 |
-
|
|
|
|
| 65 |
elif res == "early-blight":
|
| 66 |
cause = "the cause is fungus Alternaria solani which survives in plant debris or on infected plants."
|
| 67 |
sug=listToString(suggestions)
|
|
|
|
| 61 |
if res == "powdery-mildew":
|
| 62 |
cause = "The causes are high humidity."
|
| 63 |
sug=listToString(suggestions)
|
| 64 |
+
det=listToString(details)
|
| 65 |
+
return(cause,det,sug)
|
| 66 |
elif res == "early-blight":
|
| 67 |
cause = "the cause is fungus Alternaria solani which survives in plant debris or on infected plants."
|
| 68 |
sug=listToString(suggestions)
|