Skip to content

Commit 962196a

Browse files
authored
Update pipeline_chroma.py
1 parent cb76afd commit 962196a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/diffusers/pipelines/chroma/pipeline_chroma.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -663,11 +663,11 @@ def __call__(
663663
their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
664664
will be used.
665665
guidance_scale (`float`, *optional*, defaults to 3.5):
666-
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
667-
`guidance_scale` is defined as `w` of equation 2. of [Imagen
668-
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >
669-
1`. Higher guidance scale encourages to generate images that are closely linked to the text `prompt`,
670-
usually at the expense of lower image quality.
666+
Embedded guiddance scale is enabled by setting `guidance_scale` > 1. Higher `guidance_scale` encourages
667+
a model to generate images more aligned with `prompt` at the expense of lower image quality.
668+
669+
Guidance-distilled models approximates true classifer-free guidance for `guidance_scale` > 1. Refer to
670+
the [paper](https://huggingface.co/papers/2210.03142) to learn more.
671671
num_images_per_prompt (`int`, *optional*, defaults to 1):
672672
The number of images to generate per prompt.
673673
generator (`torch.Generator` or `List[torch.Generator]`, *optional*):

0 commit comments

Comments
 (0)