Python
fixed unwanted discontinuity with at the end of first sliding window with InfiniteTalk
DeepBeepMeepe7c08d12c846
diff --git a/models/wan/any2video.py b/models/wan/any2video.pyindex bb91dc6..1e62c35 100644--- a/models/wan/any2video.py+++ b/models/wan/any2video.py@@ -539,7 +539,7 @@ class WanAny2V:new_shot = "Q" in video_prompt_typeelse:if pre_video_frame is None:- new_shot = True+ new_shot = "Q" in video_prompt_typeelse:if input_ref_images is None:input_ref_images, new_shot = [pre_video_frame], False