Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
089cf798
Unverified
Commit
089cf798
authored
Aug 28, 2024
by
apolinário
Committed by
GitHub
Aug 28, 2024
Browse files
Change default for `guidance_scale`in FLUX (#9305)
To match the original code, 7.0 is too high
parent
cbc2ec8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/pipelines/flux/pipeline_flux.py
src/diffusers/pipelines/flux/pipeline_flux.py
+1
-1
No files found.
src/diffusers/pipelines/flux/pipeline_flux.py
View file @
089cf798
...
...
@@ -536,7 +536,7 @@ class FluxPipeline(DiffusionPipeline, FluxLoraLoaderMixin, FromSingleFileMixin):
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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment