abdulazeezoj commited on
Commit
02640bf
1 Parent(s): 3a6e7b7

Fix bot webhook link

Browse files
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