israel commited on
Commit
da936a4
1 Parent(s): 5e36875

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ def load_model(model_name, quantization):
34
  model_name,
35
  return_dict=True,
36
  load_in_8bit=quantization,
37
- device_map='cuda:0',
38
  low_cpu_mem_usage=True,
39
  )
40
  return model
 
34
  model_name,
35
  return_dict=True,
36
  load_in_8bit=quantization,
37
+ device_map='cpu',
38
  low_cpu_mem_usage=True,
39
  )
40
  return model