Spaces:
Runtime error
Runtime error
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 |
-
)
|
20 |
pipe.enable_xformers_memory_efficient_attention()
|
21 |
|
22 |
low_threshold = 100
|
|
|
16 |
"briaai/BRIA-2.0",
|
17 |
controlnet=controlnet,
|
18 |
torch_dtype=torch.float16,
|
19 |
+
).cuda()
|
20 |
pipe.enable_xformers_memory_efficient_attention()
|
21 |
|
22 |
low_threshold = 100
|