From 460ce7f77bda82ae27e20197122d7dcdf697399a Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Fri, 3 Oct 2025 18:17:06 +0300 Subject: [PATCH] Update model_multitalk.py --- comfy/ldm/wan/model_multitalk.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/comfy/ldm/wan/model_multitalk.py b/comfy/ldm/wan/model_multitalk.py index aedac3667..2cf1631c5 100644 --- a/comfy/ldm/wan/model_multitalk.py +++ b/comfy/ldm/wan/model_multitalk.py @@ -470,7 +470,8 @@ class InfiniteTalkOuterSampleLoopingWrapper: # when extending from previous frames if self.init_previous_frames is not None: - previous_frames = self.init_previous_frames + decoded_results.append(self.init_previous_frames.unsqueeze(0)) + previous_frames = self.init_previous_frames # should we grow the results here or rely on using batch image nodes in the workflow? if previous_frames.shape[0] < self.motion_frame_count: previous_frames = torch.cat([previous_frames[:1].repeat(self.motion_frame_count - previous_frames.shape[0], 1, 1, 1), previous_frames], dim=0) motion_frames = previous_frames[-self.motion_frame_count:]