mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2025-12-08 20:34:23 +08:00
Update nodes.py
This commit is contained in:
parent
62ebaf986a
commit
a5908e556f
2
nodes.py
2
nodes.py
@ -299,7 +299,7 @@ class CogVideoTextEncodeCombine:
|
||||
elif combination_mode == "weighted_average":
|
||||
embeds = conditioning_1 * (1 - weighted_average_ratio) + conditioning_2 * weighted_average_ratio
|
||||
elif combination_mode == "concatenate":
|
||||
embeds = torch.cat((conditioning_1, conditioning_2), dim=-1)
|
||||
embeds = torch.cat((conditioning_1, conditioning_2), dim=-2)
|
||||
else:
|
||||
raise ValueError("Invalid combination mode")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user