pvanand abdulazeezoj commited on
Commit
6e1bf63
·
1 Parent(s): 3a6e7b7

Fix bot webhook link (#1)

Browse files

- Fix bot webhook link (02640bf2f9e051397dbbd7bfbd4d2ea60f1b21e8)


Co-authored-by: Abdulazeez Jimoh <abdulazeezoj@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +1 -1
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('http://localhost:7860/webhooks/rest/webhook', json=payload)
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