Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -59,8 +59,8 @@ def whatsapp_webhook():
|
|
59 |
bd=extract_text_from_image(filepath)
|
60 |
if bd=='':
|
61 |
response_test=booktask(bd)
|
62 |
-
else 'none' not in filepath:
|
63 |
-
|
64 |
|
65 |
response_text = predict_disease(filepath)
|
66 |
elif predict_pest(filepath):
|
|
|
59 |
bd=extract_text_from_image(filepath)
|
60 |
if bd=='':
|
61 |
response_test=booktask(bd)
|
62 |
+
# else 'none' not in filepath:
|
63 |
+
# if predict_disease(filepath):
|
64 |
|
65 |
response_text = predict_disease(filepath)
|
66 |
elif predict_pest(filepath):
|