Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|