Skip to content

Commit 089cf79

Browse files
authored
Change default for guidance_scalein FLUX (#9305)
To match the original code, 7.0 is too high
1 parent cbc2ec8 commit 089cf79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/flux/pipeline_flux.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ def __call__(
536536
width: Optional[int] = None,
537537
num_inference_steps: int = 28,
538538
timesteps: List[int] = None,
539-
guidance_scale: float = 7.0,
539+
guidance_scale: float = 3.5,
540540
num_images_per_prompt: Optional[int] = 1,
541541
generator: Optional[Union[torch.Generator, List[torch.Generator]]] = None,
542542
latents: Optional[torch.FloatTensor] = None,

0 commit comments

Comments
 (0)