heyal commited on
Commit
0ad43ae
·
1 Parent(s): 562c5f7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ if user_input := st.chat_input("What is up?"):
24
 
25
  # Send user input to Rasa webhook
26
  payload = {"sender": "user", "message": user_input}
27
- response = requests.post('https://heyal-chatbot.hf.space', json=payload)
28
  bot_reply = response.json()
29
 
30
  # Display assistant response in chat message container
 
24
 
25
  # Send user input to Rasa webhook
26
  payload = {"sender": "user", "message": user_input}
27
+ response = requests.post('https://heyal-chatbot.hf.space/webhooks/rest/webhook', json=payload)
28
  bot_reply = response.json()
29
 
30
  # Display assistant response in chat message container