Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ pipe = StableDiffusionControlNetImg2ImgPipeline.from_pretrained(
|
|
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 |
|
55 |
def resize_for_condition_image(input_image: Image.Image, resolution: int):
|
|
|
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 |
|
55 |
def resize_for_condition_image(input_image: Image.Image, resolution: int):
|