File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed 
src/diffusers/pipelines/flux Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -661,13 +661,11 @@ def __call__(
661661                their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed 
662662                will be used. 
663663            guidance_scale (`float`, *optional*, defaults to 3.5): 
664-                 Guidance scale as defined in [Classifier-Free Diffusion 
665-                 Guidance](https://huggingface.co/papers/2207.12598). `guidance_scale` is defined as `w` of equation 2. 
666-                 of [Imagen Paper](https://huggingface.co/papers/2205.11487). Guidance scale is enabled by setting 
667-                 `guidance_scale > 1`. Higher guidance scale encourages to generate images that are closely linked to 
668-                 the text `prompt`, usually at the expense of lower image quality. In case of Flux, which is a guidance- 
669-                 distilled model, `guidance_scale > 1` doesn't implement true classifier-free guidance. Specifying 
670-                 `guidance_scale > 1` just mimics it. 
664+                 Embedded guidance scale is enabled by setting `guidance_scale` > 1. Higher `guidance_scale` encourages a model to generate images  
665+                 more aligned with prompt at the expense of lower image quality. 
666+                  
667+                 Guidance-distilled models approximates true classifier-free guidance for `guidance_scale` > 1. Refer to the  
668+                 [paper](https://huggingface.co/papers/2210.03142) to learn more. 
671669            num_images_per_prompt (`int`, *optional*, defaults to 1): 
672670                The number of images to generate per prompt. 
673671            generator (`torch.Generator` or `List[torch.Generator]`, *optional*): 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments