Add threshold_b to config of ControlNet's IP-Adapter

main
Uminosachi 2024-04-21 12:14:03 +09:00
parent e2725802be
commit 79458bcbaa
1 changed files with 1 additions and 0 deletions

View File

@ -679,6 +679,7 @@ def run_cn_inpaint(input_image, sel_mask,
pixel_perfect=True,
control_mode=cn_ref_mode,
threshold_a=0.5,
threshold_b=0.5,
)))
p.script_args = np.zeros(get_controlnet_args_to(cnet, p.scripts)).tolist()