diff --git a/adv_control/utils.py b/adv_control/utils.py index 40131f2..9e0beda 100644 --- a/adv_control/utils.py +++ b/adv_control/utils.py @@ -81,7 +81,7 @@ def uncond_multiplier_check_cn_sample_factory(orig_comfy_sample: Callable, is_cu for tk in control.timestep_keyframes.keyframes: if tk.has_control_weights() and tk.control_weights.has_uncond_multiplier: return True - return False + return contains_uncond_multiplier(control.previous_controlnet) # check if positive or negative conds contain Adv. Cns that use multiply_negative on weights def uncond_multiplier_check_cn_sample(model: ModelPatcher, *args, **kwargs): diff --git a/pyproject.toml b/pyproject.toml index 1fd588e..efffd8f 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.0.0" +version = "1.0.1" license = "LICENSE" dependencies = []