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 <noreply@anthropic.com>
This commit is contained in:
2026-04-04 16:35:17 +02:00
parent 789e09535d
commit 40388ba6de
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -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
+1 -1
View File
@@ -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", {