feat: extract freeu_ctrls attributes

freeu_enabled, freeu_b1, freeu_b2, freeu_s1, freeu_s2
This commit is contained in:
Manuel Schmid
2024-01-22 19:19:40 +01:00
parent cfb70c0278
commit eb1d3938fe
3 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -447,7 +447,6 @@ with shared.gradio_root:
freeu_ctrls = [freeu_enabled, freeu_b1, freeu_b2, freeu_s1, freeu_s2]
adps = [controlnet_softness]
adps += freeu_ctrls
adps += inpaint_ctrls
def dev_mode_checked(r):
@@ -530,6 +529,7 @@ with shared.gradio_root:
ctrls += [overwrite_upscale_strength, mixing_image_prompt_and_vary_upscale, mixing_image_prompt_and_inpaint]
ctrls += [debugging_cn_preprocessor, skipping_cn_preprocessor, canny_low_threshold, canny_high_threshold]
ctrls += [refiner_swap_method]
ctrls += freeu_ctrls
ctrls += ip_ctrls
state_is_generating = gr.State(False)