diff --git a/nodes_sampler.py b/nodes_sampler.py index 0e6b7a8..93c3fd6 100644 --- a/nodes_sampler.py +++ b/nodes_sampler.py @@ -225,6 +225,7 @@ class WanVideoSampler: #I2V story_mem_latents = image_embeds.get("story_mem_latents", None) image_cond = image_embeds.get("image_embeds", None) + image_cond_mask = None if image_cond is not None: if transformer.in_dim == 16: raise ValueError("T2V (text to video) model detected, encoded images only work with I2V (Image to video) models")