Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#9
by
MaximeDL
- opened
app.py
CHANGED
|
@@ -10,7 +10,7 @@ import re
|
|
| 10 |
|
| 11 |
|
| 12 |
models = {
|
| 13 |
-
"Qwen/Qwen2-VL-7B-Instruct": Qwen2VLForConditionalGeneration.from_pretrained("Qwen/
|
| 14 |
"Qwen/Qwen2-VL-2B-Instruct": Qwen2VLForConditionalGeneration.from_pretrained("Qwen/Qwen2-VL-2B-Instruct", torch_dtype="auto", device_map="auto")
|
| 15 |
}
|
| 16 |
|
|
|
|
| 10 |
|
| 11 |
|
| 12 |
models = {
|
| 13 |
+
"Qwen/Qwen2-VL-7B-Instruct": Qwen2VLForConditionalGeneration.from_pretrained("Qwen/Qwen3-VL-4B-Instruct", torch_dtype="auto", device_map="auto"),
|
| 14 |
"Qwen/Qwen2-VL-2B-Instruct": Qwen2VLForConditionalGeneration.from_pretrained("Qwen/Qwen2-VL-2B-Instruct", torch_dtype="auto", device_map="auto")
|
| 15 |
}
|
| 16 |
|