QL2023 commited on
Commit
3f0c66f
·
verified ·
1 Parent(s): 94b0831

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -11,9 +11,9 @@ def chat_history(message,history):
11
  global thread
12
 
13
  response = requests.post(address, json={
14
- "query":message,
15
  "thread": thread,
16
- })
17
 
18
  thread = response['thread']
19
 
 
11
  global thread
12
 
13
  response = requests.post(address, json={
14
+ "query": message,
15
  "thread": thread,
16
+ }).json()
17
 
18
  thread = response['thread']
19