Commit
·
c767690
1
Parent(s):
b86fb79
Update pipeline.py
Browse files- pipeline.py +2 -0
pipeline.py
CHANGED
@@ -768,6 +768,8 @@ class AnimateDiffPipeline(DiffusionPipeline, TextualInversionLoaderMixin, IPAdap
|
|
768 |
# shuffle rotate latent images by step places, wrapping around the last 2 to the start
|
769 |
latents = torch.cat([latents[:, :, -step:, :, :], latents[:, :, :-step, :, :]], dim=2)
|
770 |
|
|
|
|
|
771 |
if output_type == "latent":
|
772 |
return AnimateDiffPipelineOutput(frames=latents)
|
773 |
|
|
|
768 |
# shuffle rotate latent images by step places, wrapping around the last 2 to the start
|
769 |
latents = torch.cat([latents[:, :, -step:, :, :], latents[:, :, :-step, :, :]], dim=2)
|
770 |
|
771 |
+
print("Done denoising")
|
772 |
+
|
773 |
if output_type == "latent":
|
774 |
return AnimateDiffPipelineOutput(frames=latents)
|
775 |
|