Skip to content

Commit 40df6a0

Browse files
authored
Update pipeline_controlnet_img2img.py
runwayml Take-down so change all from to this stable-diffusion-v1-5/stable-diffusion-v1-5
1 parent 661b9e0 commit 40df6a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
>>> # load control net and stable diffusion v1-5
7272
>>> controlnet = ControlNetModel.from_pretrained("lllyasviel/sd-controlnet-canny", torch_dtype=torch.float16)
7373
>>> pipe = StableDiffusionControlNetImg2ImgPipeline.from_pretrained(
74-
... "runwayml/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float16
74+
... "stable-diffusion-v1-5/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float16
7575
... )
7676
7777
>>> # speed up diffusion process with faster scheduler and memory optimization
@@ -168,7 +168,7 @@ class StableDiffusionControlNetImg2ImgPipeline(
168168
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
169169
safety_checker ([`StableDiffusionSafetyChecker`]):
170170
Classification module that estimates whether generated images could be considered offensive or harmful.
171-
Please refer to the [model card](https://huggingface.co/runwayml/stable-diffusion-v1-5) for more details
171+
Please refer to the [model card](https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5) for more details
172172
about a model's potential harms.
173173
feature_extractor ([`~transformers.CLIPImageProcessor`]):
174174
A `CLIPImageProcessor` to extract features from generated images; used as inputs to the `safety_checker`.

0 commit comments

Comments
 (0)