Skip to content

Commit a0f2874

Browse files
committed
fix
1 parent 89caf50 commit a0f2874

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/pipelines/controlnet/pipeline_controlnet_union_sd_xl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
```py
7070
>>> # !pip install controlnet_aux
7171
>>> from controlnet_aux import LineartAnimeDetector
72-
>>> from diffusers import StableDiffusionXLControlNetPipeline, ControlNetUnionModel, AutoencoderKL
72+
>>> from diffusers import StableDiffusionXLControlNetUnionPipeline, ControlNetUnionModel, AutoencoderKL
7373
>>> from diffusers.models.controlnets import ControlNetUnionInput
7474
>>> from diffusers.utils import load_image
7575
>>> import torch
@@ -84,7 +84,7 @@
8484
... "xinsir/controlnet-union-sdxl-1.0", torch_dtype=torch.float16
8585
... )
8686
>>> vae = AutoencoderKL.from_pretrained("madebyollin/sdxl-vae-fp16-fix", torch_dtype=torch.float16)
87-
>>> pipe = StableDiffusionXLControlNetPipeline.from_pretrained(
87+
>>> pipe = StableDiffusionXLControlNetUnionPipeline.from_pretrained(
8888
... "stabilityai/stable-diffusion-xl-base-1.0",
8989
... controlnet=controlnet,
9090
... vae=vae,

0 commit comments

Comments
 (0)