mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 10:35:01 +00:00
fix(flux): Set CFG=1 so that prompts are followed
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:
parent
3033845f94
commit
a8022cc564
2 changed files with 3 additions and 1 deletions
|
@ -10,3 +10,5 @@ config_file: |
|
||||||
- "t5xxl_path:t5xxl_fp16.safetensors"
|
- "t5xxl_path:t5xxl_fp16.safetensors"
|
||||||
- "vae_path:ae.safetensors"
|
- "vae_path:ae.safetensors"
|
||||||
- "sampler:euler"
|
- "sampler:euler"
|
||||||
|
|
||||||
|
cfg_scale: 1
|
||||||
|
|
|
@ -12,4 +12,4 @@ config_file: |
|
||||||
enable_parameters: num_inference_steps
|
enable_parameters: num_inference_steps
|
||||||
pipeline_type: FluxPipeline
|
pipeline_type: FluxPipeline
|
||||||
|
|
||||||
cfg_scale: 0
|
cfg_scale: 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue