From ce329e0dce91e1f0f8bf99a7fa626bdf3d74742c Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:17:11 +0200 Subject: [PATCH] fix T2V --- nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes.py b/nodes.py index ebd3102..1fea2e1 100644 --- a/nodes.py +++ b/nodes.py @@ -713,8 +713,8 @@ class CogVideoSampler: freenoise=context_options["freenoise"] if context_options is not None else None, controlnet=controlnet, tora=tora_trajectory if tora_trajectory is not None else None, - image_cond_start_percent=image_cond_start_percent, - image_cond_end_percent=image_cond_end_percent + image_cond_start_percent=image_cond_start_percent if image_cond_latents is not None else 0.0, + image_cond_end_percent=image_cond_end_percent if image_cond_latents is not None else 1.0, ) if not model["cpu_offloading"] and model["manual_offloading"]: pipe.transformer.to(offload_device)