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:
@@ -66,7 +66,8 @@ class SelvaModelLoader:
|
|||||||
print("[SelVA] Resolving weights (auto-downloading if missing)...", flush=True)
|
print("[SelVA] Resolving weights (auto-downloading if missing)...", flush=True)
|
||||||
video_enc_path = _ensure("video_enc_sup_5.pth")
|
video_enc_path = _ensure("video_enc_sup_5.pth")
|
||||||
gen_path = _ensure(gen_filename)
|
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()
|
synch_path = _synchformer_path()
|
||||||
bigvgan_path = _ensure("best_netG.pt", subdir="ext") if has_bigvgan else None
|
bigvgan_path = _ensure("best_netG.pt", subdir="ext") if has_bigvgan else None
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class SelvaSampler:
|
|||||||
"tooltip": "CLIP text for audio generation. Leave empty to reuse the prompt from SelvaFeatureExtractor.",
|
"tooltip": "CLIP text for audio generation. Leave empty to reuse the prompt from SelvaFeatureExtractor.",
|
||||||
}),
|
}),
|
||||||
"negative_prompt": ("STRING", {
|
"negative_prompt": ("STRING", {
|
||||||
"default": "", "multiline": True,
|
"default": "", "multiline": False,
|
||||||
"tooltip": "Sounds to steer away from, e.g. 'wind noise, background music'.",
|
"tooltip": "Sounds to steer away from, e.g. 'wind noise, background music'.",
|
||||||
}),
|
}),
|
||||||
"duration": ("FLOAT", {
|
"duration": ("FLOAT", {
|
||||||
|
|||||||
Reference in New Issue
Block a user