Easy tool to download a batch of files listed in yaml (ex. RVC models in Hugging Face 🤗).
- Download the program at Release page.
- Put this program into the root directory of RVC (or whatever position you want to download some files into).
- You can also add it to the
PATH
to use this tool everywhere. If you have installed this program by a package manager, it may be already in thePATH
.
rvcmd assets/rvc
rvcmd -w 1 assets/chtts
- Write and save the following
cust.yaml
.BaseURL: https://huggingface.co/fumiama/RVC-Pretrained-Models/resolve/main Targets: - Refer: hubert - Refer: rmvpe
- Run
rvcmd
in the same folder.rvcmd -c cust
Use Stable Diffusion v1-5 as the example.
- Write and save the following
cust.yaml
.BaseURL: https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main Targets: - Folder: sd1.5 # the folder you want to download into Copy: # files to download - v1-5-pruned-emaonly.ckpt - v1-5-pruned-emaonly.safetensors - Folder: sd1.5/vae # the folder you want to download into Copy: # files to download - vae/diffusion_pytorch_model.bin
Use yousa-ling-diffsinger-v1.3 as the example.
- Write and save the following
cust.yaml
.BaseURL: https://github.com/yousa-ling-official-production/yousa-ling-diffsinger-v1/releases/download/v1.3 Targets: - Folder: . # the folder you want to download into Copy: # files to download - yousaV1.3.zip
- Run
rvcmd
in the same folder.rvcmd -c cust
Usage: rvcmd [-notrs] [-dns dns.yaml] 'target/to/download'
-c use custom yaml instruction
-dns string
custom dns.yaml
-f force download even file exists
-notrs
use standard TLS client
-notui
use plain text instead of TUI
-ua string
customize user agent (default "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0")
-w uint
connection waiting seconds (default 4)
'target/to/download'
like packs/general/latest
All available targets:
assets:
chtts hubert rmvpe rvc uvr5 v1 v2