Spaces:
Runtime error
Runtime error
Commit
·
02640bf
1
Parent(s):
3a6e7b7
Fix bot webhook link
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ with st.form(key='chat_form'):
|
|
| 16 |
|
| 17 |
if submitted and user_input:
|
| 18 |
payload = {"sender": "user", "message": user_input}
|
| 19 |
-
response = requests.post('
|
| 20 |
bot_reply = response.json()
|
| 21 |
|
| 22 |
# Append the user message and bot reply to the chat history
|
|
|
|
| 16 |
|
| 17 |
if submitted and user_input:
|
| 18 |
payload = {"sender": "user", "message": user_input}
|
| 19 |
+
response = requests.post('https://pvanand-rasa-moodbot.hf.space/webhooks/rest/webhook', json=payload)
|
| 20 |
bot_reply = response.json()
|
| 21 |
|
| 22 |
# Append the user message and bot reply to the chat history
|