Skip to content

Commit 9c94aef

Browse files
committed
Add parallel_weights recommended values to docstring
1 parent 259952a commit 9c94aef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/diffusers/guiders/frequency_decoupled_guidance.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ class FrequencyDecoupledGuidance(BaseGuidance):
114114
parallel_weights (`float` or `List[float]`, *optional*):
115115
Optional weights for the parallel component of each frequency component of the projected CFG shift. If not
116116
set, the weights will default to `1.0` for all components, which corresponds to using the normal CFG shift
117-
(that is, equal weights for the parallel and orthogonal components). If a list is supplied, it should be
118-
the same length as `guidance_scales`.
117+
(that is, equal weights for the parallel and orthogonal components). If set, a value in `[0, 1]` is
118+
recommended. If a list is supplied, it should be the same length as `guidance_scales`.
119119
use_original_formulation (`bool`, defaults to `False`):
120120
Whether to use the original formulation of classifier-free guidance as proposed in the paper. By default,
121121
we use the diffusers-native implementation that has been in the codebase for a long time. See

0 commit comments

Comments
 (0)