Spaces:
Sleeping
Sleeping
Neurolingua
commited on
Commit
•
cb31846
1
Parent(s):
cebceb2
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def whatsapp_webhook():
|
|
56 |
if content_type.startswith('image/'):
|
57 |
# Handle image processing (disease/pest detection)
|
58 |
filepath = convert_img(media_url, account_sid, auth_token)
|
59 |
-
response_text =
|
60 |
'''if os.path.exists(filepath):
|
61 |
if predict_disease(filepath):
|
62 |
|
|
|
56 |
if content_type.startswith('image/'):
|
57 |
# Handle image processing (disease/pest detection)
|
58 |
filepath = convert_img(media_url, account_sid, auth_token)
|
59 |
+
response_text = media_url
|
60 |
'''if os.path.exists(filepath):
|
61 |
if predict_disease(filepath):
|
62 |
|