File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/diffusers/pipelines/controlnet Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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`.
You can’t perform that action at this time.
0 commit comments