X-iZhang commited on
Commit
0b705ce
·
verified ·
1 Parent(s): d7d2496

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -143,7 +143,8 @@ def get_image_tensors_batch_cpu(images, image_processor, model, device='cpu'):
143
  Keeps the same structure and behaviour as the original function.
144
  """
145
  import torch
146
-
 
147
  batch_size = len(images)
148
  all_processed = []
149
 
 
143
  Keeps the same structure and behaviour as the original function.
144
  """
145
  import torch
146
+ from libra.mm_utils import process_images
147
+
148
  batch_size = len(images)
149
  all_processed = []
150