Skip to content

Commit 19733af

Browse files
committed
make style
1 parent c85e46b commit 19733af

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/diffusers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@
353353
"AuraFlowPipeline",
354354
"BlipDiffusionControlNetPipeline",
355355
"BlipDiffusionPipeline",
356-
"CLIPImageProjection",
357356
"ChromaPipeline",
357+
"CLIPImageProjection",
358358
"CogVideoXFunControlPipeline",
359359
"CogVideoXImageToVideoPipeline",
360360
"CogVideoXPipeline",

src/diffusers/pipelines/chroma/pipeline_chroma.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@
5757
>>> import torch
5858
>>> from diffusers import ChromaPipeline
5959
60-
>>> pipe = ChromaPipeline.from_single_file("chroma-unlocked-v35-detail-calibrated.safetensors", torch_dtype=torch.bfloat16)
60+
>>> pipe = ChromaPipeline.from_single_file(
61+
... "chroma-unlocked-v35-detail-calibrated.safetensors", torch_dtype=torch.bfloat16
62+
... )
6163
>>> pipe.to("cuda")
6264
>>> prompt = "A cat holding a sign that says hello world"
6365
>>> image = pipe(prompt, num_inference_steps=28, guidance_scale=4.0).images[0]
@@ -630,9 +632,9 @@ def __call__(
630632
Examples:
631633
632634
Returns:
633-
[`~pipelines.chroma.ChromaPipelineOutput`] or `tuple`: [`~pipelines.chroma.ChromaPipelineOutput`] if `return_dict`
634-
is True, otherwise a `tuple`. When returning a tuple, the first element is a list with the generated
635-
images.
635+
[`~pipelines.chroma.ChromaPipelineOutput`] or `tuple`: [`~pipelines.chroma.ChromaPipelineOutput`] if
636+
`return_dict` is True, otherwise a `tuple`. When returning a tuple, the first element is a list with the
637+
generated images.
636638
"""
637639

638640
height = height or self.default_sample_size * self.vae_scale_factor

0 commit comments

Comments
 (0)