blanchon commited on
Commit
14a9542
1 Parent(s): b27d568

Fix messages

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -82,6 +82,7 @@ processor.tokenizer.pad_token = processor.tokenizer.eos_token
82
  @spaces.GPU
83
  def bot_streaming(chatbot, image_input, max_new_tokens=250):
84
  # Preprocess inputs
 
85
  images = []
86
  text_input = chatbot[-1][0]
87
 
 
82
  @spaces.GPU
83
  def bot_streaming(chatbot, image_input, max_new_tokens=250):
84
  # Preprocess inputs
85
+ messages = []
86
  images = []
87
  text_input = chatbot[-1][0]
88