Skip to content

Commit 4099d0b

Browse files
committed
added changes for i2v 2.1
1 parent 635e2dd commit 4099d0b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/maxdiffusion/pipelines/wan/wan_pipeline_i2v_2p1.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,7 @@ def __call__(
163163

164164
prompt_embeds, negative_prompt_embeds, image_embeds, effective_batch_size = self._prepare_model_inputs_i2v(
165165
prompt, image, negative_prompt, num_videos_per_prompt, max_sequence_length,
166-
prompt_embeds, negative_prompt_embeds, image_embeds, last_image,
167-
num_videos_per_prompt=num_videos_per_prompt,
166+
prompt_embeds, negative_prompt_embeds, image_embeds, last_image
168167
)
169168

170169
image_tensor = self.video_processor.preprocess(image, height=height, width=width)

0 commit comments

Comments
 (0)