Update pipeline.py
Browse files- pipeline.py +1 -0
pipeline.py
CHANGED
@@ -999,6 +999,7 @@ class AnimateDiffPipeline(DiffusionPipeline, TextualInversionLoaderMixin, IPAdap
|
|
999 |
latents,
|
1000 |
context_size=context_size,
|
1001 |
blend_frames=overlap,
|
|
|
1002 |
)
|
1003 |
elif(latent_mode == "motion"):
|
1004 |
latents = self.prepare_motion_latents(
|
|
|
999 |
latents,
|
1000 |
context_size=context_size,
|
1001 |
blend_frames=overlap,
|
1002 |
+
strength=init_image_strength,
|
1003 |
)
|
1004 |
elif(latent_mode == "motion"):
|
1005 |
latents = self.prepare_motion_latents(
|