From c8021d422404063c7c05c09763cd769c4713f3fd Mon Sep 17 00:00:00 2001 From: Qianyi Zhao <49068354+Qing112@users.noreply.github.com> Date: Fri, 25 Oct 2024 01:44:09 -0500 Subject: [PATCH] Update svd_video.py --- diffsynth/pipelines/svd_video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diffsynth/pipelines/svd_video.py b/diffsynth/pipelines/svd_video.py index 01b358b..2dc6311 100644 --- a/diffsynth/pipelines/svd_video.py +++ b/diffsynth/pipelines/svd_video.py @@ -49,7 +49,7 @@ class SVDVideoPipeline(BasePipeline): return image_emb - def encode_image_with_vae(self, image, noise_aug_strength, seed): + def encode_image_with_vae(self, image, noise_aug_strength, seed=None): image = self.preprocess_image(image).to(device=self.device, dtype=self.torch_dtype) noise = self.generate_noise(image.shape, seed=seed, device=self.device, dtype=self.torch_dtype) image = image + noise_aug_strength * noise