Skip to content

Commit 7bd7db4

Browse files
committed
make style
1 parent 412611e commit 7bd7db4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/diffusers/pipelines/controlnet_sd3/pipeline_stable_diffusion_3_controlnet.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,13 @@
6666
... "stabilityai/stable-diffusion-3-medium-diffusers", controlnet=controlnet, torch_dtype=torch.float16
6767
... )
6868
>>> pipe.to("cuda")
69-
>>> control_image = load_image("https://huggingface.co/datasets/hf-internal-testing/diffusers-images/resolve/main/sd_controlnet/bird_canny.png")
69+
>>> control_image = load_image(
70+
... "https://huggingface.co/datasets/hf-internal-testing/diffusers-images/resolve/main/sd_controlnet/bird_canny.png"
71+
... )
7072
>>> prompt = "A bird in space"
71-
>>> image = pipe(prompt, control_image=control_image, height=1024, width=768, controlnet_conditioning_scale=0.7).images[0]
73+
>>> image = pipe(
74+
... prompt, control_image=control_image, height=1024, width=768, controlnet_conditioning_scale=0.7
75+
... ).images[0]
7276
>>> image.save("sd3.png")
7377
```
7478
"""

0 commit comments

Comments
 (0)