Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -79,7 +79,7 @@ def whatsapp_webhook():
|
|
79 |
response_text = "Please specify if you want to detect a pest or a disease."
|
80 |
except Exception as e:
|
81 |
print(f"Error processing image: {e}")
|
82 |
-
response_text =
|
83 |
else:
|
84 |
response_text = "The attached file is not an image. Please send an image for classification."
|
85 |
elif 'bookkeeping' in incoming_msg:
|
|
|
79 |
response_text = "Please specify if you want to detect a pest or a disease."
|
80 |
except Exception as e:
|
81 |
print(f"Error processing image: {e}")
|
82 |
+
response_text = e
|
83 |
else:
|
84 |
response_text = "The attached file is not an image. Please send an image for classification."
|
85 |
elif 'bookkeeping' in incoming_msg:
|