MaziyarPanahi commited on
Commit
13775ff
1 Parent(s): 6409a48

Update app.py (#9)

Browse files

- Update app.py (7a44bb21de7296aa2c6fcc6be627aa14754db017)

Files changed (1) hide show
  1. app.py +2 -2
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": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
46
  },
47
- {"type": "text", "text": "Describe this image."},
48
  ],
49
  }
50
  ]
 
42
  "content": [
43
  {
44
  "type": "image",
45
+ "image": <|image_1|>,
46
  },
47
+ {"type": "text", "text": text_input},
48
  ],
49
  }
50
  ]