Merge PR #30 from Kosinkadink/comfyui-updatefix Fixed Apply Advanced ControlNet node for new ComfyUI change

Fixed Apply Advanced ControlNet node for new ComfyUI change
This commit is contained in:
Jedrzej Kosinski
2023-11-16 15:40:41 -06:00
committed by GitHub
+1 -1
View File
@@ -132,7 +132,7 @@ class AdvancedControlNetApply:
if prev_cnet in cnets:
c_net = cnets[prev_cnet]
else:
c_net = control_net.copy().set_cond_hint(control_hint, strength, (1.0 - start_percent, 1.0 - end_percent))
c_net = control_net.copy().set_cond_hint(control_hint, strength, (start_percent, end_percent))
# set cond hint mask
if mask_optional is not None:
if is_advanced_controlnet(c_net):