QL2023 commited on
Commit
f791a40
·
verified ·
1 Parent(s): df0a62e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def chat_history(message,history):
16
  "thread": thread,
17
  })
18
 
19
- response_json = json.load(response)
20
 
21
  thread = response_json['thread']
22
 
 
16
  "thread": thread,
17
  })
18
 
19
+ response_json = json.loads(response)
20
 
21
  thread = response_json['thread']
22