Update app.py
Browse files
app.py
CHANGED
@@ -278,6 +278,7 @@ def bot(history, temperature, top_p, max_output_tokens):
|
|
278 |
|
279 |
image_tensor = [
|
280 |
process_images([f], our_chatbot.image_processor, our_chatbot.model.config)[0]
|
|
|
281 |
.to(our_chatbot.model.device)
|
282 |
for f in image_list
|
283 |
]
|
|
|
278 |
|
279 |
image_tensor = [
|
280 |
process_images([f], our_chatbot.image_processor, our_chatbot.model.config)[0]
|
281 |
+
.half()
|
282 |
.to(our_chatbot.model.device)
|
283 |
for f in image_list
|
284 |
]
|