Add threshold_a and b to config of ControlNet's inpaint

main v1.16.2
Uminosachi 2024-04-23 19:21:05 +09:00
parent 79458bcbaa
commit a980f40a29
1 changed files with 2 additions and 0 deletions

View File

@ -641,6 +641,8 @@ def run_cn_inpaint(input_image, sel_mask,
guidance_end=1.0,
pixel_perfect=True,
control_mode=cn_mode,
threshold_a=0.5,
threshold_b=0.5,
))]
if cn_ref_module_id is not None and cn_ref_image is not None: