paralym commited on
Commit
7f2bb5b
1 Parent(s): 26f02ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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)