Python
removed auto color correction for first window
deepbeepmeep688f89415518
diff --git a/wan/any2video.py b/wan/any2video.pyindex c0e5827..61d03f1 100644--- a/wan/any2video.py+++ b/wan/any2video.py@@ -900,7 +900,7 @@ class WanAny2V:else:videos = videos[0] # return only first videoif color_correction_strength > 0:- if vace and False:+ if vace and False and prefix_frames_count > 0:# videos = match_and_blend_colors_with_mask(videos.unsqueeze(0), input_frames[0].unsqueeze(0), input_masks[0][:1].unsqueeze(0), color_correction_strength,copy_mode= "progressive_blend").squeeze(0)videos = match_and_blend_colors_with_mask(videos.unsqueeze(0), input_frames[0].unsqueeze(0), input_masks[0][:1].unsqueeze(0), color_correction_strength,copy_mode= "reference").squeeze(0)# videos = match_and_blend_colors_with_mask(videos.unsqueeze(0), videos.unsqueeze(0), input_masks[0][:1].unsqueeze(0), color_correction_strength,copy_mode= "reference").squeeze(0)