Skip to content

Commit 0f447a4

Browse files
SHYuanBesthlky
andauthored
Update src/diffusers/pipelines/consisid/pipeline_consisid.py
Co-authored-by: hlky <[email protected]>
1 parent 8f310c5 commit 0f447a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/pipelines/consisid/pipeline_consisid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ def prepare_latents(
512512
latents = latents * self.scheduler.init_noise_sigma
513513
return latents, image_latents
514514

515-
# Copied from diffusers.pipelines.consisid.pipeline_consisid.ConsisIDPipeline.decode_latents
515+
# Copied from diffusers.pipelines.cogvideo.pipeline_cogvideox.CogVideoXPipeline.decode_latents
516516
def decode_latents(self, latents: torch.Tensor) -> torch.Tensor:
517517
latents = latents.permute(0, 2, 1, 3, 4) # [batch_size, num_channels, num_frames, height, width]
518518
latents = 1 / self.vae_scaling_factor_image * latents

0 commit comments

Comments
 (0)