Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,7 +16,7 @@ def chat_history(message,history):
|
|
| 16 |
"thread": thread,
|
| 17 |
})
|
| 18 |
|
| 19 |
-
response_json = json.
|
| 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 |
|