Fix API url
Browse files
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
|