1
0
mirror of https://github.com/fumiama/Retrieval-based-Voice-Conversion-WebUI.git synced 2026-06-08 03:55:47 +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 - name: Run RVC-Models-Downloader
run: | 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 sudo apt -y install ./rvcmd_linux_amd64.deb
rm -f ./rvcmd_linux_amd64.deb rm -f ./rvcmd_linux_amd64.deb
rvcmd -notrs -w 1 -notui assets/all rvcmd -notrs -w 1 -notui assets/all

View File

@@ -18,7 +18,7 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt update 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 sudo apt -y install ./rvcmd_linux_amd64.deb
python -m pip install --upgrade pip python -m pip install --upgrade pip
python -m pip install --upgrade setuptools 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}") 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 subprocess
import platform import platform
@@ -209,13 +209,13 @@ def download_all_assets(tmpdir: str, version="0.2.3"):
except Exception: except Exception:
BASE_URL = "https://raw.gitcode.com/u011570312/RVC-Models-Downloader/assets/" BASE_URL = "https://raw.gitcode.com/u011570312/RVC-Models-Downloader/assets/"
suffix = { suffix = {
"darwin_amd64": "460", "darwin_amd64": "555",
"darwin_arm64": "461", "darwin_arm64": "556",
"linux_386": "462", "linux_386": "557",
"linux_amd64": "463", "linux_amd64": "558",
"linux_arm64": "464", "linux_arm64": "559",
"windows_386": "465", "windows_386": "562",
"windows_amd64": "466", "windows_amd64": "563",
}[f"{system_type}_{architecture}"] }[f"{system_type}_{architecture}"]
RVCMD_URL = BASE_URL + suffix RVCMD_URL = BASE_URL + suffix
download_dns_yaml( download_dns_yaml(
@@ -236,6 +236,6 @@ def download_all_assets(tmpdir: str, version="0.2.3"):
"0", "0",
"-dns", "-dns",
os.path.join(tmpdir, "dns.yaml"), os.path.join(tmpdir, "dns.yaml"),
"assets/all", "assets/rvc",
] ]
) )