Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -278,6 +278,7 @@ def clear_history(history):
|
|
278 |
|
279 |
def add_message(history, message):
|
280 |
global chat_image_num
|
|
|
281 |
if not history:
|
282 |
history = []
|
283 |
our_chatbot = chat_manager.get_chatbot(args, model_path, tokenizer, model, image_processor, context_len)
|
|
|
278 |
|
279 |
def add_message(history, message):
|
280 |
global chat_image_num
|
281 |
+
print("#### len(history)",len(history))
|
282 |
if not history:
|
283 |
history = []
|
284 |
our_chatbot = chat_manager.get_chatbot(args, model_path, tokenizer, model, image_processor, context_len)
|