binqiangliu commited on
Commit
efeaf16
·
1 Parent(s): c6fe2db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -3,7 +3,8 @@ import streamlit as st
3
 
4
  def call_chatbot_api(query):
5
  # url = 'https://hf-aichat-api.onrender.com/api/chat' #OKed
6
- url = 'https://hf-aichatboapi.onrender.com/api/chat'
 
7
  data = {'query': query}
8
  response = requests.post(url, json=data)
9
  result = response.json()
 
3
 
4
  def call_chatbot_api(query):
5
  # url = 'https://hf-aichat-api.onrender.com/api/chat' #OKed
6
+ # url = 'https://hf-aichatboapi.onrender.com/api/chat' #Failed
7
+ url = 'https://newaichatapi.onrender.com/api/chat'
8
  data = {'query': query}
9
  response = requests.post(url, json=data)
10
  result = response.json()