Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def get_model_processor():
|
|
40 |
model = Qwen2VLForConditionalGeneration.from_pretrained(
|
41 |
"./showui-2b",
|
42 |
torch_dtype=torch.bfloat16,
|
43 |
-
device_map="
|
44 |
)
|
45 |
|
46 |
# Load the processor
|
|
|
40 |
model = Qwen2VLForConditionalGeneration.from_pretrained(
|
41 |
"./showui-2b",
|
42 |
torch_dtype=torch.bfloat16,
|
43 |
+
device_map="cuda",
|
44 |
)
|
45 |
|
46 |
# Load the processor
|