Neurolingua commited on
Commit
90c5e6b
1 Parent(s): 318c2a2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = 'Invalid image'
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: