Spaces:
Sleeping
Sleeping
imseldrith
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -56,8 +56,7 @@ def webhook():
|
|
56 |
# Set typing on
|
57 |
set_typing_on(sender_id)
|
58 |
|
59 |
-
|
60 |
-
response_text = result.get('response', '')
|
61 |
print(response_text)
|
62 |
#response_text = 'hello'
|
63 |
print(f"Sending response to {sender_id}: {response_text}")
|
|
|
56 |
# Set typing on
|
57 |
set_typing_on(sender_id)
|
58 |
|
59 |
+
response_text = chat_completion(message_text, sender_id)
|
|
|
60 |
print(response_text)
|
61 |
#response_text = 'hello'
|
62 |
print(f"Sending response to {sender_id}: {response_text}")
|