From fed3b22bc9e007255577d763745dcc67c67528f0 Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Sun, 21 Dec 2025 15:06:46 +0200 Subject: [PATCH] Update nodes_sampler.py --- nodes_sampler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes_sampler.py b/nodes_sampler.py index 2bebb93..d9943f0 100644 --- a/nodes_sampler.py +++ b/nodes_sampler.py @@ -1582,8 +1582,8 @@ class WanVideoSampler: vace_data=vace_data, attn_cond=attn_cond, **base_params) noise_pred_no_portrait = noise_pred_no_portrait[0] return noise_pred_no_portrait + portrait_cfg[idx] * (noise_pred_cond - noise_pred_no_portrait), noise_pred_ovi, [cache_state_cond, cache_state_uncond] - else: - return noise_pred_cond, noise_pred_ovi, [cache_state_cond] + else: + return noise_pred_cond, noise_pred_ovi, [cache_state_cond] #unconditional (negative) pass base_params['is_uncond'] = True