Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|