refactor: add flag for refiner_swap_method

This commit is contained in:
Manuel Schmid
2024-01-31 01:17:10 +01:00
parent e93a345ccf
commit 7772eb7965
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -367,7 +367,7 @@ with shared.gradio_root:
step=0.001, value=0.3,
info='When to end the guidance from positive/negative ADM. ')
refiner_swap_method = gr.Dropdown(label='Refiner swap method', value='joint',
refiner_swap_method = gr.Dropdown(label='Refiner swap method', value=flags.refiner_swap_method,
choices=['joint', 'separate', 'vae'])
adaptive_cfg = gr.Slider(label='CFG Mimicking from TSNR', minimum=1.0, maximum=30.0, step=0.01,