Skip to content

Commit 558de5c

Browse files
committed
update
1 parent 89e956b commit 558de5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/pipelines/wan/pipeline_wan_video2video.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ def prepare_latents(
421421

422422
return latents
423423

424+
# Copied from diffusers.pipelines.animatediff.pipeline_animatediff_video2video.AnimateDiffVideoToVideoPipeline.get_timesteps
424425
def get_timesteps(self, num_inference_steps, timesteps, strength, device):
425426
# get the original timestep using init_timestep
426427
init_timestep = min(int(num_inference_steps * strength), num_inference_steps)

0 commit comments

Comments
 (0)