Severian commited on
Commit
fdb45c0
·
verified ·
1 Parent(s): 43c2a2f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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):