dvir-bria commited on
Commit
e15e7aa
1 Parent(s): ddf2e3c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
16
  "briaai/BRIA-2.0",
17
  controlnet=controlnet,
18
  torch_dtype=torch.float16,
19
- device_map='auto',
20
  # low_cpu_mem_usage=True,
21
  # offload_state_dict=True,
22
  )#.to('cuda')
 
16
  "briaai/BRIA-2.0",
17
  controlnet=controlnet,
18
  torch_dtype=torch.float16,
19
+ device_map='cuda:0',
20
  # low_cpu_mem_usage=True,
21
  # offload_state_dict=True,
22
  )#.to('cuda')