feat: extract attribute debugging_cn_preprocessor

This commit is contained in:
Manuel Schmid
2024-01-22 18:52:41 +01:00
parent 6289e5daea
commit 0bf41591a6
3 changed files with 11 additions and 9 deletions
+2 -1
View File
@@ -446,7 +446,7 @@ with shared.gradio_root:
freeu_s2 = gr.Slider(label='S2', minimum=0, maximum=4, step=0.01, value=0.95)
freeu_ctrls = [freeu_enabled, freeu_b1, freeu_b2, freeu_s1, freeu_s2]
adps = [debugging_cn_preprocessor, skipping_cn_preprocessor, controlnet_softness,
adps = [skipping_cn_preprocessor, controlnet_softness,
canny_low_threshold, canny_high_threshold, refiner_swap_method]
adps += freeu_ctrls
adps += inpaint_ctrls
@@ -529,6 +529,7 @@ with shared.gradio_root:
ctrls += [sampler_name, scheduler_name]
ctrls += [overwrite_step, overwrite_switch, overwrite_width, overwrite_height, overwrite_vary_strength]
ctrls += [overwrite_upscale_strength, mixing_image_prompt_and_vary_upscale, mixing_image_prompt_and_inpaint]
ctrls += [debugging_cn_preprocessor]
ctrls += ip_ctrls
state_is_generating = gr.State(False)