1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-05 01:10:22 +08:00

feat(rvcmd): update version to v0.2.5

This commit is contained in:
源文雨
2024-06-17 21:29:40 +09:00
parent 412a9950a1
commit 839c60e56d
3 changed files with 11 additions and 11 deletions

View File

@@ -15,7 +15,7 @@ jobs:
- name: Run RVC-Models-Downloader
run: |
wget https://github.com/fumiama/RVC-Models-Downloader/releases/download/v0.2.3/rvcmd_linux_amd64.deb
wget https://github.com/fumiama/RVC-Models-Downloader/releases/download/v0.2.5/rvcmd_linux_amd64.deb
sudo apt -y install ./rvcmd_linux_amd64.deb
rm -f ./rvcmd_linux_amd64.deb
rvcmd -notrs -w 1 -notui assets/all

View File

@@ -18,7 +18,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt update
wget https://github.com/fumiama/RVC-Models-Downloader/releases/download/v0.2.3/rvcmd_linux_amd64.deb
wget https://github.com/fumiama/RVC-Models-Downloader/releases/download/v0.2.5/rvcmd_linux_amd64.deb
sudo apt -y install ./rvcmd_linux_amd64.deb
python -m pip install --upgrade pip
python -m pip install --upgrade setuptools

View File

@@ -170,7 +170,7 @@ def download_dns_yaml(url: str, folder: str):
logger.info(f"downloaded into {folder}")
def download_all_assets(tmpdir: str, version="0.2.3"):
def download_all_assets(tmpdir: str, version="0.2.5"):
import subprocess
import platform
@@ -209,13 +209,13 @@ def download_all_assets(tmpdir: str, version="0.2.3"):
except Exception:
BASE_URL = "https://raw.gitcode.com/u011570312/RVC-Models-Downloader/assets/"
suffix = {
"darwin_amd64": "460",
"darwin_arm64": "461",
"linux_386": "462",
"linux_amd64": "463",
"linux_arm64": "464",
"windows_386": "465",
"windows_amd64": "466",
"darwin_amd64": "555",
"darwin_arm64": "556",
"linux_386": "557",
"linux_amd64": "558",
"linux_arm64": "559",
"windows_386": "562",
"windows_amd64": "563",
}[f"{system_type}_{architecture}"]
RVCMD_URL = BASE_URL + suffix
download_dns_yaml(
@@ -236,6 +236,6 @@ def download_all_assets(tmpdir: str, version="0.2.3"):
"0",
"-dns",
os.path.join(tmpdir, "dns.yaml"),
"assets/all",
"assets/rvc",
]
)