Spaces:
Running
on
Zero
Running
on
Zero
Fix messages
Browse files
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 |
|