Skip to content

Commit

Permalink
Change default for guidance_scalein FLUX (#9305)
Browse files Browse the repository at this point in the history
To match the original code, 7.0 is too high
  • Loading branch information
apolinario authored Aug 28, 2024
1 parent cbc2ec8 commit 089cf79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diffusers/pipelines/flux/pipeline_flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ def __call__(
width: Optional[int] = None,
num_inference_steps: int = 28,
timesteps: List[int] = None,
guidance_scale: float = 7.0,
guidance_scale: float = 3.5,
num_images_per_prompt: Optional[int] = 1,
generator: Optional[Union[torch.Generator, List[torch.Generator]]] = None,
latents: Optional[torch.FloatTensor] = None,
Expand Down

0 comments on commit 089cf79

Please sign in to comment.