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

Update app.py

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