Update app.py (#9)
Browse files- Update app.py (7a44bb21de7296aa2c6fcc6be627aa14754db017)
app.py
CHANGED
|
@@ -42,9 +42,9 @@ def run_example(image, text_input=None, model_id="Qwen/Qwen2-VL-2B-Instruct"):
|
|
| 42 |
"content": [
|
| 43 |
{
|
| 44 |
"type": "image",
|
| 45 |
-
"image":
|
| 46 |
},
|
| 47 |
-
{"type": "text", "text":
|
| 48 |
],
|
| 49 |
}
|
| 50 |
]
|
|
|
|
| 42 |
"content": [
|
| 43 |
{
|
| 44 |
"type": "image",
|
| 45 |
+
"image": <|image_1|>,
|
| 46 |
},
|
| 47 |
+
{"type": "text", "text": text_input},
|
| 48 |
],
|
| 49 |
}
|
| 50 |
]
|