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 @@ -795,13 +795,11 @@ def __call__(
795795                their `set_timesteps` method. If not defined, the default behavior when `num_inference_steps` is passed 
796796                will be used. 
797797            guidance_scale (`float`, *optional*, defaults to 3.5): 
798-                 Guidance scale as defined in [Classifier-Free Diffusion 
799-                 Guidance](https://huggingface.co/papers/2207.12598). `guidance_scale` is defined as `w` of equation 2. 
800-                 of [Imagen Paper](https://huggingface.co/papers/2205.11487). Guidance scale is enabled by setting 
801-                 `guidance_scale > 1`. Higher guidance scale encourages to generate images that are closely linked to 
802-                 the text `prompt`, usually at the expense of lower image quality. In case of Flux, which is a guidance- 
803-                 distilled model, `guidance_scale > 1` doesn't implement true classifier-free guidance. Specifying 
804-                 `guidance_scale > 1` just mimics it. 
798+                 Embedded guidance scale is enabled by setting `guidance_scale` > 1. Higher `guidance_scale` encourages a model to  
799+                 generate images more aligned with prompt at the expense of lower image quality. 
800+                  
801+                 Guidance-distilled models approximates true classifier-free guidance for `guidance_scale` > 1. Refer to the  
802+                 [paper](https://huggingface.co/papers/2210.03142) to learn more. 
805803            num_images_per_prompt (`int`, *optional*, defaults to 1): 
806804                The number of images to generate per prompt. 
807805            generator (`torch.Generator` or `List[torch.Generator]`, *optional*): 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments