Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,8 +47,8 @@ pipe = StableDiffusionControlNetImg2ImgPipeline.from_pretrained(
|
|
47 |
torch_dtype = torch.float16,
|
48 |
safety_checker = None,
|
49 |
).to("cuda")
|
50 |
-
pipe.enable_xformers_memory_efficient_attention()
|
51 |
-
pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
52 |
#pipe.enable_model_cpu_offload()
|
53 |
|
54 |
|
|
|
47 |
torch_dtype = torch.float16,
|
48 |
safety_checker = None,
|
49 |
).to("cuda")
|
50 |
+
#pipe.enable_xformers_memory_efficient_attention()
|
51 |
+
#pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
|
52 |
#pipe.enable_model_cpu_offload()
|
53 |
|
54 |
|