fix(flux): Set CFG=1 so that prompts are followed (#5378)

The recommendation with Flux is to set CFG to 1 as shown in the
stablediffusion-cpp README.

Signed-off-by: Richard Palethorpe <io@richiejp.com>
This commit is contained in:
Richard Palethorpe 2025-05-16 16:53:54 +01:00 committed by GitHub
parent 3033845f94
commit cd494089d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -10,3 +10,5 @@ config_file: |
- "t5xxl_path:t5xxl_fp16.safetensors"
- "vae_path:ae.safetensors"
- "sampler:euler"
cfg_scale: 1

View file

@ -12,4 +12,4 @@ config_file: |
enable_parameters: num_inference_steps
pipeline_type: FluxPipeline
cfg_scale: 0
cfg_scale: 1