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 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`.
You can’t perform that action at this time.
0 commit comments