mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-07-13 08:56:59 +08:00
Merge aef957683cd494b6d17b07c42cf43add333c64a1 into 19f2192d69d13445131b72ad1d87167f59b66fc4
This commit is contained in:
commit
807c6ad687
@ -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]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user