Merge pull request #587 from ernestchu/patch-1

Fix typo
This commit is contained in:
Zhongjie Duan
2025-06-24 15:23:19 +08:00
committed by GitHub

View File

@@ -379,7 +379,7 @@ class WanVideoPipeline(BasePipeline):
height, width = self.check_resize_height_width(height, width)
if num_frames % 4 != 1:
num_frames = (num_frames + 2) // 4 * 4 + 1
print(f"Only `num_frames % 4 != 1` is acceptable. We round it up to {num_frames}.")
print(f"Only `num_frames % 4 == 1` is acceptable. We round it up to {num_frames}.")
# Tiler parameters
tiler_kwargs = {"tiled": tiled, "tile_size": tile_size, "tile_stride": tile_stride}