1
0
mirror of https://github.com/fumiama/RVC-Models-Downloader.git synced 2024-11-17 13:47:11 +09:00
Easy tool to download a batch of files listed in yaml (ex. RVC models in Hugging Face 🤗).
Go to file
2024-10-16 01:25:53 +09:00
.github/workflows init 2024-04-18 01:52:23 +09:00
assets feat: impl. newest chtts 2024-10-16 01:25:53 +09:00
console init 2024-04-18 01:52:23 +09:00
.gitignore feat: add chattts download & del unnecessaries 2024-06-17 18:08:52 +09:00
.goreleaser.yml feat: add chattts download & del unnecessaries 2024-06-17 18:08:52 +09:00
cfg.go feat(trs): new implementation 2024-04-19 00:29:30 +09:00
cmd.go init 2024-04-18 01:52:23 +09:00
dns.yaml chore: update hf dns 2024-06-17 18:20:29 +09:00
go.mod feat: support proxy from env (#4) 2024-07-10 18:55:26 +09:00
go.sum feat: support proxy from env (#4) 2024-07-10 18:55:26 +09:00
LICENSE Initial commit 2024-04-17 15:50:40 +09:00
log.go feat: add TUI implementation 2024-04-20 17:44:18 +09:00
main.go feat: add chattts download & del unnecessaries 2024-06-17 18:08:52 +09:00
Makefile feat: add chattts download & del unnecessaries 2024-06-17 18:08:52 +09:00
net.go feat: support proxy from env (#4) 2024-07-10 18:55:26 +09:00
pckcfg.sh fix(shell): bash error 2024-04-18 02:01:03 +09:00
README_kr.md feat: add chattts download & del unnecessaries 2024-06-17 18:08:52 +09:00
README_sc.md feat: add chattts download & del unnecessaries 2024-06-17 18:08:52 +09:00
README.md feat: add chattts download & del unnecessaries 2024-06-17 18:08:52 +09:00
ua_windows.go feat: customizable ua (#2) 2024-05-18 20:29:23 +09:00
ua.go feat: customizable ua (#2) 2024-05-18 20:29:23 +09:00
ui.go feat(tui): optimize display 2024-04-20 18:12:41 +09:00

RVC-Models-Downloader

English | 简体中文 | 한국어

Easy tool to download a batch of files listed in yaml (ex. RVC models in Hugging Face 🤗).

tui demo

Quick Start

Preparation

  1. Download the program at Release page.
  2. Put this program into the root directory of RVC (or whatever position you want to download some files into).
  3. 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 the PATH.

Download

All Assets of RVC

rvcmd assets/rvc

All Assets of ChatTTS

rvcmd -w 1 assets/chtts

Customized Download

Ex.1. Download hubert & rmvpe

  1. Write and save the following cust.yaml.
    BaseURL: https://huggingface.co/fumiama/RVC-Pretrained-Models/resolve/main
    Targets:
      - Refer: hubert
      - Refer: rmvpe
    
  2. Run rvcmd in the same folder.
    rvcmd -c cust
    

Ex.2. Download other Repositories in 🤗

Use Stable Diffusion v1-5 as the example.

  1. 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
    

Ex.3. Download Releases in GitHub

Use yousa-ling-diffsinger-v1.3 as the example.

  1. 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
    
  2. Run rvcmd in the same folder.
    rvcmd -c cust
    

Full Usage

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

Demo Video

https://github.com/fumiama/RVC-Models-Downloader/assets/41315874/da2b5827-8b1a-45f8-a9c0-03a5618ad5f8