File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
src/diffusers/pipelines/chroma Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -688,11 +688,11 @@ def __call__(
688688 their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
689689 will be used.
690690 guidance_scale (`float`, *optional*, defaults to 3.5):
691- Embedded guiddance scale is enabled by setting `guidance_scale` > 1. Higher `guidance_scale` encourages
692- a model to generate images more aligned with `prompt` at the expense of lower image quality .
693-
694- Guidance-distilled models approximates true classifer-free guidance for `guidance_scale` > 1. Refer to
695- the [paper](https://huggingface.co/papers/2210.03142) to learn more .
691+ Guidance scale as defined in [Classifier-Free Diffusion
692+ Guidance](https://huggingface.co/papers/2207.12598). `guidance_scale` is defined as `w` of equation 2 .
693+ of [Imagen Paper](https://huggingface.co/papers/2205.11487). Guidance scale is enabled by setting
694+ `guidance_scale > 1`. Higher guidance scale encourages to generate images that are closely linked to
695+ the text `prompt`, usually at the expense of lower image quality .
696696 num_images_per_prompt (`int`, *optional*, defaults to 1):
697697 The number of images to generate per prompt.
698698 generator (`torch.Generator` or `List[torch.Generator]`, *optional*):
Original file line number Diff line number Diff line change @@ -749,12 +749,12 @@ def __call__(
749749 Custom sigmas to use for the denoising process with schedulers which support a `sigmas` argument in
750750 their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed
751751 will be used.
752- guidance_scale (`float`, *optional*, defaults to 5.0 ):
753- Embedded guiddance scale is enabled by setting `guidance_scale` > 1. Higher `guidance_scale` encourages
754- a model to generate images more aligned with `prompt` at the expense of lower image quality .
755-
756- Guidance-distilled models approximates true classifer-free guidance for `guidance_scale` > 1. Refer to
757- the [paper](https://huggingface.co/papers/2210.03142) to learn more .
752+ guidance_scale (`float`, *optional*, defaults to 3.5 ):
753+ Guidance scale as defined in [Classifier-Free Diffusion
754+ Guidance](https://huggingface.co/papers/2207.12598). `guidance_scale` is defined as `w` of equation 2 .
755+ of [Imagen Paper](https://huggingface.co/papers/2205.11487). Guidance scale is enabled by setting
756+ `guidance_scale > 1`. Higher guidance scale encourages to generate images that are closely linked to
757+ the text `prompt`, usually at the expense of lower image quality .
758758 strength (`float, *optional*, defaults to 0.9):
759759 Conceptually, indicates how much to transform the reference image. Must be between 0 and 1. image will
760760 be used as a starting point, adding more noise to it the larger the strength. The number of denoising
You can’t perform that action at this time.
0 commit comments