Spaces:
Sleeping
Sleeping
imseldrith
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ def webhook():
|
|
58 |
# Get response with possible image URLs
|
59 |
response_data = chat_completion(message_text, sender_id)
|
60 |
print("ChatBot Response:\n", response_data)
|
61 |
-
|
62 |
try:
|
63 |
|
64 |
# Ensure response_data is a dictionary
|
|
|
58 |
# Get response with possible image URLs
|
59 |
response_data = chat_completion(message_text, sender_id)
|
60 |
print("ChatBot Response:\n", response_data)
|
61 |
+
print(type(response_data))
|
62 |
try:
|
63 |
|
64 |
# Ensure response_data is a dictionary
|