Muhammadidrees commited on
Commit
16e90de
·
verified ·
1 Parent(s): 4570e73

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -16,7 +16,6 @@ def load_model():
16
  torch_dtype=dtype,
17
  device_map="auto" # Let HF handle device placement
18
  )
19
- model.to(device)
20
  return processor, model, device
21
 
22
  # Load model once at startup
 
16
  torch_dtype=dtype,
17
  device_map="auto" # Let HF handle device placement
18
  )
 
19
  return processor, model, device
20
 
21
  # Load model once at startup