feat: extract inpaint_ctrls attributes

debugging_inpaint_preprocessor, inpaint_disable_initial_latent, inpaint_engine, inpaint_strength, inpaint_respective_field, inpaint_mask_upload_checkbox, invert_mask_checkbox, inpaint_erode_or_dilate
This commit is contained in:
Manuel Schmid
2024-01-22 19:20:04 +01:00
parent eb1d3938fe
commit 4ce27aeb0f
3 changed files with 24 additions and 22 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 += inpaint_ctrls
def dev_mode_checked(r):
return gr.update(visible=r)
@@ -530,6 +529,7 @@ with shared.gradio_root:
ctrls += [debugging_cn_preprocessor, skipping_cn_preprocessor, canny_low_threshold, canny_high_threshold]
ctrls += [refiner_swap_method]
ctrls += freeu_ctrls
ctrls += inpaint_ctrls
ctrls += ip_ctrls
state_is_generating = gr.State(False)