Commit
•
e4b011f
1
Parent(s):
36dbaa4
Fix API url (#2)
Browse files- Fix API url (58e4fc6ad9a988fd4ce7d687526d6580adf03363)
Co-authored-by: Anand <[email protected]>
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
|