Update nodes.py

This commit is contained in:
kijai
2025-09-19 21:56:33 +03:00
parent de4fcd6fb3
commit 14a1f8bd71
+3
View File
@@ -1118,6 +1118,9 @@ class WanVideoAnimateEmbeds:
looping = num_frames > frame_window_size
if num_frames < frame_window_size:
frame_window_size = num_frames
target_shape = (16, (num_frames - 1) // 4 + 1 + num_refs, lat_h, lat_w)
latent_window_size = ((frame_window_size - 1) // 4)