pranshh commited on
Commit
5363043
·
verified ·
1 Parent(s): 38f9664

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -22,7 +22,6 @@ def load_model():
22
  return Qwen2VLForConditionalGeneration.from_pretrained(
23
  "Qwen/Qwen2-VL-2B-Instruct",
24
  torch_dtype=torch.float32, # Use float32 for CPU
25
- device_map="cpu"
26
  )
27
 
28
  # Load the model
 
22
  return Qwen2VLForConditionalGeneration.from_pretrained(
23
  "Qwen/Qwen2-VL-2B-Instruct",
24
  torch_dtype=torch.float32, # Use float32 for CPU
 
25
  )
26
 
27
  # Load the model