Neurolingua commited on
Commit
5bb552f
·
verified ·
1 Parent(s): 8b28c8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- filepath = convert_img(media_url, account_sid, auth_token)
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)