Mihaiii commited on
Commit
ae79187
1 Parent(s): 86019ea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def model_inference(
33
  ):
34
 
35
 
36
- images = [{"type": "image", "image": Image.open(image[0])} for image in images]
37
  images.append({"type": "text", "text": text})
38
 
39
  # model = Qwen2VLForConditionalGeneration.from_pretrained(
 
33
  ):
34
 
35
 
36
+ images = [{"type": "image", "image": Image.open(image[0]), "resized_height": 1344, "resized_width": 1344} for image in images]
37
  images.append({"type": "text", "text": text})
38
 
39
  # model = Qwen2VLForConditionalGeneration.from_pretrained(