Spaces:
Paused
Paused
Removed manual to device to let accelerator handle it
Browse files
app.py
CHANGED
@@ -13,8 +13,7 @@ model = Qwen2VLForConditionalGeneration.from_pretrained(
|
|
13 |
|
14 |
# default processer
|
15 |
processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
|
16 |
-
|
17 |
-
model.to(device)
|
18 |
|
19 |
|
20 |
other_benifits = '''Extract the following information in the given format:
|
|
|
13 |
|
14 |
# default processer
|
15 |
processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
|
16 |
+
|
|
|
17 |
|
18 |
|
19 |
other_benifits = '''Extract the following information in the given format:
|