feat: extract attribute canny_low_threshold

This commit is contained in:
Manuel Schmid
2024-01-22 19:06:10 +01:00
parent 9f194a91fa
commit ec486443ea
4 changed files with 16 additions and 16 deletions
+2 -3
View File
@@ -446,8 +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 = [controlnet_softness,
canny_low_threshold, canny_high_threshold, refiner_swap_method]
adps = [controlnet_softness, canny_high_threshold, refiner_swap_method]
adps += freeu_ctrls
adps += inpaint_ctrls
@@ -529,7 +528,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, skipping_cn_preprocessor]
ctrls += [debugging_cn_preprocessor, skipping_cn_preprocessor, canny_low_threshold]
ctrls += ip_ctrls
state_is_generating = gr.State(False)