Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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='
|
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')
|