Skip to content

Commit c7250f2

Browse files
correct doc string for default value of guidance_scale (huggingface#4339)
1 parent 18b018c commit c7250f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/community/composable_stable_diffusion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def __call__(
423423
num_inference_steps (`int`, *optional*, defaults to 50):
424424
The number of denoising steps. More denoising steps usually lead to a higher quality image at the
425425
expense of slower inference.
426-
guidance_scale (`float`, *optional*, defaults to 7.5):
426+
guidance_scale (`float`, *optional*, defaults to 5.0):
427427
Guidance scale as defined in [Classifier-Free Diffusion Guidance](https://arxiv.org/abs/2207.12598).
428428
`guidance_scale` is defined as `w` of equation 2. of [Imagen
429429
Paper](https://arxiv.org/pdf/2205.11487.pdf). Guidance scale is enabled by setting `guidance_scale >

0 commit comments

Comments
 (0)