Skip to content

Commit 9cff5a1

Browse files
committed
make style
1 parent d4b8ef3 commit 9cff5a1

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@
4040
>>> from diffusers.utils import load_image
4141
4242
>>> pipe = LEditsPPPipelineStableDiffusion.from_pretrained(
43-
... "runwayml/stable-diffusion-v1-5",
44-
... variant="fp16",
45-
... torch_dtype=torch.float16
43+
... "runwayml/stable-diffusion-v1-5", variant="fp16", torch_dtype=torch.float16
4644
... )
4745
>>> pipe.enable_vae_tiling()
4846
>>> pipe = pipe.to("cuda")

src/diffusers/pipelines/ledits_pp/pipeline_leditspp_stable_diffusion_xl.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@
7777
>>> from diffusers.utils import load_image
7878
7979
>>> pipe = LEditsPPPipelineStableDiffusionXL.from_pretrained(
80-
... "stabilityai/stable-diffusion-xl-base-1.0",
81-
... variant="fp16",
82-
... torch_dtype=torch.float16
80+
... "stabilityai/stable-diffusion-xl-base-1.0", variant="fp16", torch_dtype=torch.float16
8381
... )
8482
>>> pipe.enable_vae_tiling()
8583
>>> pipe = pipe.to("cuda")

0 commit comments

Comments
 (0)