imseldrith commited on
Commit
7ac41bb
·
verified ·
1 Parent(s): 62fac61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -77,10 +77,10 @@ def webhook():
77
  send_image(sender_id, url)
78
  else:
79
  print("Error: ChatBot response is not a dictionary.")
80
- send_message(sender_id, "Sorry, I couldn't process your request.")
81
  except Exception as e:
82
  print(f"Exception occurred: {e}")
83
- send_message(sender_id, )
84
  # Mark message as seen
85
  mark_seen(sender_id)
86
  # Set typing off after responding
 
77
  send_image(sender_id, url)
78
  else:
79
  print("Error: ChatBot response is not a dictionary.")
80
+ send_message(sender_id, response_data)
81
  except Exception as e:
82
  print(f"Exception occurred: {e}")
83
+
84
  # Mark message as seen
85
  mark_seen(sender_id)
86
  # Set typing off after responding