Add previously removed preset

This commit is contained in:
lllyasviel
2023-11-15 02:19:20 -08:00
parent 8f23e2e969
commit 8c49bb1cba
7 changed files with 60 additions and 6 deletions
+6 -3
View File
@@ -303,7 +303,8 @@ with shared.gradio_root:
refiner_swap_method = gr.Dropdown(label='Refiner swap method', value='joint',
choices=['joint', 'separate', 'vae'])
adaptive_cfg = gr.Slider(label='CFG Mimicking from TSNR', minimum=1.0, maximum=30.0, step=0.01, value=7.0,
adaptive_cfg = gr.Slider(label='CFG Mimicking from TSNR', minimum=1.0, maximum=30.0, step=0.01,
value=modules.config.default_cfg_tsnr,
info='Enabling Fooocus\'s implementation of CFG mimicking for TSNR '
'(effective when real CFG > mimicked CFG).')
sampler_name = gr.Dropdown(label='Sampler', choices=flags.sampler_list,
@@ -316,10 +317,12 @@ with shared.gradio_root:
value=False)
overwrite_step = gr.Slider(label='Forced Overwrite of Sampling Step',
minimum=-1, maximum=200, step=1, value=-1,
minimum=-1, maximum=200, step=1,
value=modules.config.default_overwrite_step,
info='Set as -1 to disable. For developer debugging.')
overwrite_switch = gr.Slider(label='Forced Overwrite of Refiner Switch Step',
minimum=-1, maximum=200, step=1, value=-1,
minimum=-1, maximum=200, step=1,
value=modules.config.default_overwrite_switch,
info='Set as -1 to disable. For developer debugging.')
overwrite_width = gr.Slider(label='Forced Overwrite of Generating Width',
minimum=-1, maximum=2048, step=1, value=-1,