This commit is contained in:
Extraltodeus 2025-12-03 11:43:28 -05:00 committed by GitHub
commit 807c6ad687
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ class TCFG(io.ComfyNode):
# Assume [cond, uncond, ...]
x = args["input"]
conds_out = args["conds_out"]
if len(conds_out) <= 1 or None in args["conds"][:2]:
if len(conds_out) <= 1 or None in args["conds"][:2] or not args["conds_out"][1].any():
# Skip when either cond or uncond is None
return conds_out
cond_pred = conds_out[0]