From 17b4392c2625cad0997fb0f057ab43949eeb3c8b Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Thu, 16 Nov 2023 15:39:35 -0600 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 b43f78f..e3d4f64 100644 --- a/control/nodes.py +++ b/control/nodes.py @@ -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):