Skip to content

Commit 661b9e0

Browse files
authored
Update pipeline_controlnet.py
1 parent 1896b1f commit 661b9e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/pipelines/controlnet/pipeline_controlnet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
>>> # load control net and stable diffusion v1-5
8181
>>> controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-canny", torch_dtype=torch.float16)
8282
>>> pipe = StableDiffusionControlNetPipeline.from_pretrained(
83-
... "runwayml/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float16
83+
... "stable-diffusion-v1-5/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float16
8484
... )
8585
8686
>>> # speed up diffusion process with faster scheduler and memory optimization
@@ -198,7 +198,7 @@ class StableDiffusionControlNetPipeline(
198198
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
199199
safety_checker ([`StableDiffusionSafetyChecker`]):
200200
Classification module that estimates whether generated images could be considered offensive or harmful.
201-
Please refer to the [model card](https://huggingface.co/runwayml/stable-diffusion-v1-5) for more details
201+
Please refer to the [model card](https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5) for more details
202202
about a model's potential harms.
203203
feature_extractor ([`~transformers.CLIPImageProcessor`]):
204204
A `CLIPImageProcessor` to extract features from generated images; used as inputs to the `safety_checker`.

0 commit comments

Comments
 (0)