Update nodes.py

This commit is contained in:
kijai
2025-09-10 20:58:45 +03:00
parent b9e49af4d1
commit 9cefe309e3
+2
View File
@@ -3455,6 +3455,8 @@ class WanVideoSampler:
log.info(f"Sampling {total_frames} frames in {estimated_iterations} windows, at {latent.shape[3]*vae_upscale_factor}x{latent.shape[2]*vae_upscale_factor} with {steps} steps")
while True: # start video generation iteratively
self.cache_state = [None, None]
cur_motion_frames_latent_num = int(1 + (cur_motion_frames_num-1) // 4)
if mode == "infinitetalk":
cond_image = original_images[:, :, current_condframe_index:current_condframe_index+1] if cond_image is not None else None