Skip to content

Commit 8c32d75

Browse files
authored
Update pipeline_controlnet_inpaint.py
1 parent 40df6a0 commit 8c32d75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
... "lllyasviel/control_v11p_sd15_inpaint", torch_dtype=torch.float16
8484
... )
8585
>>> pipe = StableDiffusionControlNetInpaintPipeline.from_pretrained(
86-
... "runwayml/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float16
86+
... "stable-diffusion-v1-5/stable-diffusion-v1-5", controlnet=controlnet, torch_dtype=torch.float16
8787
... )
8888
8989
>>> pipe.scheduler = DDIMScheduler.from_config(pipe.scheduler.config)
@@ -141,9 +141,9 @@ class StableDiffusionControlNetInpaintPipeline(
141141
<Tip>
142142
143143
This pipeline can be used with checkpoints that have been specifically fine-tuned for inpainting
144-
([runwayml/stable-diffusion-inpainting](https://huggingface.co/runwayml/stable-diffusion-inpainting)) as well as
144+
([stable-diffusion-v1-5/stable-diffusion-inpainting](https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-inpainting)) as well as
145145
default text-to-image Stable Diffusion checkpoints
146-
([runwayml/stable-diffusion-v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5)). Default text-to-image
146+
([stable-diffusion-v1-5/stable-diffusion-v1-5](https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5)). Default text-to-image
147147
Stable Diffusion checkpoints might be preferable for ControlNets that have been fine-tuned on those, such as
148148
[lllyasviel/control_v11p_sd15_inpaint](https://huggingface.co/lllyasviel/control_v11p_sd15_inpaint).
149149
@@ -167,7 +167,7 @@ class StableDiffusionControlNetInpaintPipeline(
167167
[`DDIMScheduler`], [`LMSDiscreteScheduler`], or [`PNDMScheduler`].
168168
safety_checker ([`StableDiffusionSafetyChecker`]):
169169
Classification module that estimates whether generated images could be considered offensive or harmful.
170-
Please refer to the [model card](https://huggingface.co/runwayml/stable-diffusion-v1-5) for more details
170+
Please refer to the [model card](https://huggingface.co/stable-diffusion-v1-5/stable-diffusion-v1-5) for more details
171171
about a model's potential harms.
172172
feature_extractor ([`~transformers.CLIPImageProcessor`]):
173173
A `CLIPImageProcessor` to extract features from generated images; used as inputs to the `safety_checker`.

0 commit comments

Comments
 (0)