From 40388ba6de8cbc3df8f3925a56aa1aaeac6b0c8c Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Sat, 4 Apr 2026 16:35:17 +0200 Subject: [PATCH] fix: negative_prompt inline (multiline:false) + VAE filename v1-44.pth not v1-44k.pth - SelvaSampler: multiline:false puts negative_prompt inline above sliders - SelvaModelLoader: VAE filenames in download_utils are v1-16.pth/v1-44.pth, not v1-{mode}.pth (mode includes the 'k' suffix) Co-Authored-By: Claude Sonnet 4.6 --- nodes/selva_model_loader.py | 3 ++- nodes/selva_sampler.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/nodes/selva_model_loader.py b/nodes/selva_model_loader.py index 0662b21..af40fd5 100644 --- a/nodes/selva_model_loader.py +++ b/nodes/selva_model_loader.py @@ -66,7 +66,8 @@ class SelvaModelLoader: print("[SelVA] Resolving weights (auto-downloading if missing)...", flush=True) video_enc_path = _ensure("video_enc_sup_5.pth") gen_path = _ensure(gen_filename) - vae_path = _ensure(f"v1-{mode}.pth", subdir="ext") + vae_name = "v1-16.pth" if mode == "16k" else "v1-44.pth" + vae_path = _ensure(vae_name, subdir="ext") synch_path = _synchformer_path() bigvgan_path = _ensure("best_netG.pt", subdir="ext") if has_bigvgan else None diff --git a/nodes/selva_sampler.py b/nodes/selva_sampler.py index 550bcaa..15bcca1 100644 --- a/nodes/selva_sampler.py +++ b/nodes/selva_sampler.py @@ -16,7 +16,7 @@ class SelvaSampler: "tooltip": "CLIP text for audio generation. Leave empty to reuse the prompt from SelvaFeatureExtractor.", }), "negative_prompt": ("STRING", { - "default": "", "multiline": True, + "default": "", "multiline": False, "tooltip": "Sounds to steer away from, e.g. 'wind noise, background music'.", }), "duration": ("FLOAT", {