diff --git a/README.md b/README.md index 7e4f829..3b27467 100644 --- a/README.md +++ b/README.md @@ -1,70 +1,91 @@ # RVC-Models-Downloader -English | [简体中文](README_sc.md) + +English | [简体中文](README_sc.md) | [한국어](README_kr.md) Easy tool to download a batch of files listed in yaml (ex. RVC models in Hugging Face 🤗). ![tui demo](https://github.com/RVC-Project/RVC-Models-Downloader/assets/41315874/db577dfb-8a6d-4909-b071-9d36cc77afc6) ## Quick Start + ### Preparation + 1. Download the program at [Release](https://github.com/RVC-Project/RVC-Models-Downloader/releases) 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 + ```bash rvcmd assets/all ``` + #### Latest General Pack of RVC (Windows Only) + ```bash rvcmd packs/general/latest ``` + #### ffmpeg Tools (Windows Only) + ```bash rvcmd tools/ffmpeg ``` + ### Customized Download + #### Ex.1. Download ffmpeg Tools & Latest Intel Pack + 1. Write and save the following `cust.yaml`. - ```yaml - BaseURL: https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main - Targets: - - Refer: tools/ffmpeg - - Refer: packs/intel/latest - ``` + ```yaml + BaseURL: https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main + Targets: + - Refer: tools/ffmpeg + - Refer: packs/intel/latest + ``` 2. Run `rvcmd` in the same folder. - ```bash - rvcmd -c cust - ``` + ```bash + rvcmd -c cust + ``` + #### Ex.2. Download other Repositories in 🤗 + > Use [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) as the example. + 1. Write and save the following `cust.yaml`. - ```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 - ``` + ```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](https://github.com/yousa-ling-official-production/yousa-ling-diffsinger-v1/releases/tag/v1.3) as the example. + 1. Write and save the following `cust.yaml`. - ```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 - ``` + ```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. - ```bash - rvcmd -c cust - ``` + ```bash + rvcmd -c cust + ``` + ## Full Usage + ```bash Usage: rvcmd [-notrs] [-dns dns.yaml] 'target/to/download' -c use custom yaml instruction @@ -104,6 +125,7 @@ All available targets: tools: ffmpeg ``` + ## Demo Video https://github.com/RVC-Project/RVC-Models-Downloader/assets/41315874/da2b5827-8b1a-45f8-a9c0-03a5618ad5f8 diff --git a/README_sc.md b/README_sc.md index 5189129..5e7bd0b 100644 --- a/README_sc.md +++ b/README_sc.md @@ -1,70 +1,91 @@ -# RVC模型下载器 -[English](README.md) | 简体中文 +# RVC 模型下载器 + +[English](README.md) | 简体中文 | [한국어](README_kr.md) 一个能够批量下载`yaml`清单内文件的简单工具(例如 Hugging Face 🤗 中的 RVC 模型)。 ![tui demo](https://github.com/RVC-Project/RVC-Models-Downloader/assets/41315874/db577dfb-8a6d-4909-b071-9d36cc77afc6) ## 快速开始 + ### 准备工作 + 1. 在[发布](https://github.com/RVC-Project/RVC-Models-Downloader/releases)页面下载程序。 -2. 将此程序放入RVC的根目录(或您想要下载文件的任何位置)。 +2. 将此程序放入 RVC 的根目录(或您想要下载文件的任何位置)。 3. 您也可以将它添加到`PATH`中以便在任何地方使用此工具。如果您已经通过包管理器安装了此程序,那么它可能已经位于`PATH`。 + ### 下载 -#### RVC的所有资源文件 + +#### RVC 的所有资源文件 + ```bash rvcmd assets/all ``` -#### RVC的最新通用整合包(仅限Windows) + +#### RVC 的最新通用整合包(仅限 Windows) + ```bash rvcmd packs/general/latest ``` -#### ffmpeg工具(仅限Windows) + +#### ffmpeg 工具(仅限 Windows) + ```bash rvcmd tools/ffmpeg ``` + ### 自定义下载 -#### 示例1. 下载ffmpeg工具和最新的Intel包 + +#### 示例 1. 下载 ffmpeg 工具和最新的 Intel 包 + 1. 编写并保存以下`cust.yaml`。 - ```yaml - BaseURL: https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main - Targets: - - Refer: tools/ffmpeg - - Refer: packs/intel/latest - ``` + ```yaml + BaseURL: https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main + Targets: + - Refer: tools/ffmpeg + - Refer: packs/intel/latest + ``` 2. 在同一文件夹中运行`rvcmd`。 - ```bash - rvcmd -c cust - ``` -#### 示例2. 下载🤗中的其他仓库 + ```bash + rvcmd -c cust + ``` + +#### 示例 2. 下载 🤗 中的其他仓库 + > 以 [Stable Diffusion v1-5](https://huggingface.co/runwayml/stable-diffusion-v1-5) 为例。 + 1. 编写并保存以下`cust.yaml`。 - ```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 - ``` -#### 示例3. 下载GitHub中的发布版本 + ```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 + ``` + +#### 示例 3. 下载 GitHub 中的发布版本 + > 以 [yousa-ling-diffsinger-v1.3](https://github.com/yousa-ling-official-production/yousa-ling-diffsinger-v1/releases/tag/v1.3) 为例。 + 1. 编写并保存以下`cust.yaml`。 - ```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 - ``` + ```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. 在同一文件夹中运行`rvcmd`。 - ```bash - rvcmd -c cust - ``` + ```bash + rvcmd -c cust + ``` + ## 完整用法 + ```bash Usage: rvcmd [-notrs] [-dns dns.yaml] 'target/to/download' -c use custom yaml instruction