Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def whatsapp_webhook():
|
|
58 |
try:
|
59 |
filepath = convert_img(media_url, account_sid, auth_token)
|
60 |
except:
|
61 |
-
|
62 |
bd=extract_text_from_image(filepath)
|
63 |
if bd!='':
|
64 |
bookdata=booktask(bd+bookdata)
|
|
|
58 |
try:
|
59 |
filepath = convert_img(media_url, account_sid, auth_token)
|
60 |
except:
|
61 |
+
response_text="Error in uploading image,try with another one."
|
62 |
bd=extract_text_from_image(filepath)
|
63 |
if bd!='':
|
64 |
bookdata=booktask(bd+bookdata)
|