Spaces:
Sleeping
Sleeping
solitudeLin
commited on
Commit
•
9a025c8
1
Parent(s):
6547726
Update frontend/mindsearch_streamlit.py
Browse files
frontend/mindsearch_streamlit.py
CHANGED
@@ -82,7 +82,7 @@ def update_chat(query):
|
|
82 |
# 暂不支持多轮
|
83 |
message = [dict(role='user', content=query)]
|
84 |
|
85 |
-
url = 'http://localhost
|
86 |
headers = {'Content-Type': 'application/json'}
|
87 |
data = {'inputs': message}
|
88 |
raw_response = requests.post(url,
|
|
|
82 |
# 暂不支持多轮
|
83 |
message = [dict(role='user', content=query)]
|
84 |
|
85 |
+
url = 'http://localhost/solve'
|
86 |
headers = {'Content-Type': 'application/json'}
|
87 |
data = {'inputs': message}
|
88 |
raw_response = requests.post(url,
|