paralym commited on
Commit
067ccde
1 Parent(s): eddb228

Update app.py

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