File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 353353 "AuraFlowPipeline" ,
354354 "BlipDiffusionControlNetPipeline" ,
355355 "BlipDiffusionPipeline" ,
356- "CLIPImageProjection" ,
357356 "ChromaPipeline" ,
357+ "CLIPImageProjection" ,
358358 "CogVideoXFunControlPipeline" ,
359359 "CogVideoXImageToVideoPipeline" ,
360360 "CogVideoXPipeline" ,
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments