dprat0821 commited on
Commit
9a5ba57
·
verified ·
1 Parent(s): 3d411f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,7 +12,7 @@ controlnet = ControlNetModel.from_pretrained(
12
 
13
  # Load Stable Diffusion pipeline with ControlNet
14
  pipe = StableDiffusionControlNetPipeline.from_pretrained(
15
- "runwayml/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float32
16
  )
17
 
18
  # Set the scheduler
 
12
 
13
  # Load Stable Diffusion pipeline with ControlNet
14
  pipe = StableDiffusionControlNetPipeline.from_pretrained(
15
+ "runwayml/stable-diffusion-v1-5", torch_dtype=torch.float32
16
  )
17
 
18
  # Set the scheduler