Skip to content

Commit e2a88cb

Browse files
committed
make style
1 parent 7a15767 commit e2a88cb

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/diffusers/pipelines/cogvideo/pipeline_cogvideox_fun_control.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ def __call__(
707707
f"The number of latent frames must be divisible by `{patch_size_t=}` but the given video "
708708
f"contains {latent_frames=}, which is not divisible."
709709
)
710-
710+
711711
latent_channels = self.transformer.config.in_channels // 2
712712
latents = self.prepare_latents(
713713
batch_size * num_videos_per_prompt,

src/diffusers/pipelines/cogvideo/pipeline_cogvideox_image2video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ def __call__(
748748
if patch_size_t is not None and latent_frames % patch_size_t != 0:
749749
additional_frames = patch_size_t - latent_frames % patch_size_t
750750
num_frames += additional_frames * self.vae_scale_factor_temporal
751-
751+
752752
image = self.video_processor.preprocess(image, height=height, width=width).to(
753753
device, dtype=prompt_embeds.dtype
754754
)

src/diffusers/pipelines/cogvideo/pipeline_cogvideox_video2video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ def __call__(
735735
f"The number of latent frames must be divisible by `{patch_size_t=}` but the given video "
736736
f"contains {latent_frames=}, which is not divisible."
737737
)
738-
738+
739739
if latents is None:
740740
video = self.video_processor.preprocess_video(video, height=height, width=width)
741741
video = video.to(device=device, dtype=prompt_embeds.dtype)

0 commit comments

Comments
 (0)