From b419102a51c661da6e0cba6c948a2a4326714756 Mon Sep 17 00:00:00 2001 From: peter942 Date: Sat, 18 Nov 2023 15:33:26 +0100 Subject: [PATCH] Fixed Apply Advanced ControlNet node for new ComfyUI change --- control/nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/nodes.py b/control/nodes.py index 8a3b547..17a3f70 100644 --- a/control/nodes.py +++ b/control/nodes.py @@ -134,7 +134,7 @@ class AdvancedControlNetApplyImport: 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):