Spaces:
Runtime error
Runtime error
patrickvonplaten
commited on
Commit
·
4564155
1
Parent(s):
352fd14
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ controlnet = ControlNetModel.from_pretrained(
|
|
14 |
"lllyasviel/sd-controlnet-openpose", torch_dtype=torch.float16
|
15 |
)
|
16 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
17 |
-
"
|
18 |
)
|
19 |
pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
|
20 |
|
|
|
14 |
"lllyasviel/sd-controlnet-openpose", torch_dtype=torch.float16
|
15 |
)
|
16 |
pipe = StableDiffusionControlNetPipeline.from_pretrained(
|
17 |
+
"runwayml/stable-diffusion-v1-5", controlnet=controlnet, safety_checker=None, torch_dtype=torch.float16
|
18 |
)
|
19 |
pipe.scheduler = UniPCMultistepScheduler.from_config(pipe.scheduler.config)
|
20 |
|