Neurolingua commited on
Commit
14536ce
·
verified ·
1 Parent(s): e18a400

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -42,8 +42,9 @@ def whatsapp_webhook():
42
 
43
 
44
 
45
-
46
- response_text = predict_disease(filepath)
 
47
  else:
48
  response_text = "Please specify if you want to detect a pest or a disease."
49
 
 
42
 
43
 
44
 
45
+ if filepath:
46
+
47
+ response_text = predict_disease(filepath)
48
  else:
49
  response_text = "Please specify if you want to detect a pest or a disease."
50