svjack commited on
Commit
8b50413
1 Parent(s): bb1d5ab

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -24,6 +24,7 @@ pipe = StableDiffusionControlNetPipeline.from_pretrained(
24
 
25
  # speed up diffusion process with faster scheduler and memory optimization
26
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
 
27
  #pipe.enable_model_cpu_offload()
28
  #pipe = pipe.to("cuda")
29
 
 
24
 
25
  # speed up diffusion process with faster scheduler and memory optimization
26
  pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
27
+ pipe.safety_checker = None
28
  #pipe.enable_model_cpu_offload()
29
  #pipe = pipe.to("cuda")
30