Skip to content

Commit d330161

Browse files
Apply style fixes
1 parent fbdaa48 commit d330161

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/diffusers/pipelines/sana/pipeline_sana_sprint_img2img.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,11 @@
7272
>>> pipe.to("cuda")
7373
7474
>>> image = load_image(
75-
... "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/penguin.png")
76-
)
75+
... "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/penguin.png"
76+
... )
77+
7778
78-
>>> image = pipe(prompt="a cute pink bear",
79-
... image=image,
80-
... strength=0.5, height=832, width=480).images[0]
79+
>>> image = pipe(prompt="a cute pink bear", image=image, strength=0.5, height=832, width=480).images[0]
8180
>>> image[0].save("output.png")
8281
```
8382
"""

0 commit comments

Comments
 (0)