Spaces:
Runtime error
Runtime error
Commit ·
6c8c1b9
1
Parent(s): e20880a
Update app.py
Browse files
app.py
CHANGED
|
@@ -53,7 +53,7 @@ def chat(message, chat_history):
|
|
| 53 |
# if chat_history != '':
|
| 54 |
# chat_history += split_mark_1
|
| 55 |
# chat_history += f'{message}{split_mark_2}{response}'
|
| 56 |
-
chat_history = json.
|
| 57 |
print(f'liuyz_2_{chat_history}')
|
| 58 |
return out_chat, chat_history
|
| 59 |
|
|
|
|
| 53 |
# if chat_history != '':
|
| 54 |
# chat_history += split_mark_1
|
| 55 |
# chat_history += f'{message}{split_mark_2}{response}'
|
| 56 |
+
chat_history = json.dumps(out_chat)
|
| 57 |
print(f'liuyz_2_{chat_history}')
|
| 58 |
return out_chat, chat_history
|
| 59 |
|