pvanand commited on
Commit
58e4fc6
1 Parent(s): 36dbaa4

Fix API url

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://omdenalc-omdena-ng-lagos-chatbot-model.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://omdenalc-omdena-ng-lagos-chatbot-model.hf.space/webhooks/rest/webhook', json=payload)
28
  bot_reply = response.json()
29
 
30
  # Display assistant response in chat message container