Fixed contains_uncond_multipier tailend recursion instead of returning False

This commit is contained in:
Jedrzej Kosinski
2024-05-17 03:24:23 -05:00
parent 13d09cf846
commit bed20c2e28
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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):
+1 -1
View File
@@ -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 = []