From 5900f458f81838ba85c1a43e5d655bd9a68f71d9 Mon Sep 17 00:00:00 2001 From: Jedrzej Kosinski Date: Sat, 7 Dec 2024 05:06:41 -0600 Subject: [PATCH] Fix regression of Load ControlNet++ Model (Multi) node --- adv_control/nodes_plusplus.py | 1 + pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/adv_control/nodes_plusplus.py b/adv_control/nodes_plusplus.py index 755cef7..aabe4a1 100644 --- a/adv_control/nodes_plusplus.py +++ b/adv_control/nodes_plusplus.py @@ -26,6 +26,7 @@ class PlusPlusLoaderAdvanced: controlnet_path = folder_paths.get_full_path("controlnet", name) controlnet = load_controlnetplusplus(controlnet_path) controlnet.verify_control_type(name, plus_input) + controlnet.allow_condhint_latents = True return (controlnet, PlusPlusImageWrapper(plus_input),) diff --git a/pyproject.toml b/pyproject.toml index d3cff3d..fd34dab 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-advanced-controlnet" description = "Nodes for scheduling ControlNet strength across timesteps and batched latents, as well as applying custom weights and attention masks." -version = "1.4.0" +version = "1.4.1" license = { file = "LICENSE" } dependencies = []