Skip to content

Commit 5ee381c

Browse files
Fix WanFirstLastFrameToVideo node when no clip vision. (Comfy-Org#9134)
1 parent 4887743 commit 5ee381c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

comfy_extras/nodes_wan.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ def encode(self, positive, negative, vae, width, height, length, batch_size, sta
149149
positive = node_helpers.conditioning_set_values(positive, {"concat_latent_image": concat_latent_image, "concat_mask": mask})
150150
negative = node_helpers.conditioning_set_values(negative, {"concat_latent_image": concat_latent_image, "concat_mask": mask})
151151

152+
clip_vision_output = None
152153
if clip_vision_start_image is not None:
153154
clip_vision_output = clip_vision_start_image
154155

0 commit comments

Comments
 (0)