Update nodes.py

This commit is contained in:
kijai
2025-04-25 16:19:52 +03:00
parent 031d8ac817
commit e75e6d6933
+2 -2
View File
@@ -2761,8 +2761,8 @@ class WanVideoSampler:
if fun_ref_image is not None:
fun_ref_input = fun_ref_image.to(z)
else:
#fun_ref_input = torch.zeros_like(z, dtype=z.dtype)[:, 0].unsqueeze(1)
fun_ref_input = None
fun_ref_input = torch.zeros_like(z, dtype=z.dtype)[:, 0].unsqueeze(1)
#fun_ref_input = None
if control_lora:
if not control_start_percent <= current_step_percentage <= control_end_percent: