Skip to content

Commit 03218a5

Browse files
committed
last_image is none logic changed
1 parent 9bd9c0a commit 03218a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/maxdiffusion/pipelines/wan/wan_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def _prepare_model_inputs_i2v(
617617
# 2. Encode Image
618618
if image_embeds is None:
619619
images_to_encode = [image]
620-
if last_image is not None:
620+
if last_image is None:
621621
images_to_encode = [image]
622622
else:
623623
images_to_encode = [image, last_image]

0 commit comments

Comments
 (0)