Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -251,6 +251,7 @@ def clear_history(history):
|
|
| 251 |
|
| 252 |
def add_message(history, message):
|
| 253 |
global chat_image_num
|
|
|
|
| 254 |
if not history:
|
| 255 |
history = []
|
| 256 |
print("### Initialize chatbot")
|
|
|
|
| 251 |
|
| 252 |
def add_message(history, message):
|
| 253 |
global chat_image_num
|
| 254 |
+
print("#### len(history)",len(history))
|
| 255 |
if not history:
|
| 256 |
history = []
|
| 257 |
print("### Initialize chatbot")
|