diff --git a/.github/workflows/checksum.yml b/.github/workflows/checksum.yml index 4c6bbec..82c2280 100644 --- a/.github/workflows/checksum.yml +++ b/.github/workflows/checksum.yml @@ -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 diff --git a/.github/workflows/unitest.yml b/.github/workflows/unitest.yml index 303ca71..5ea2ddf 100644 --- a/.github/workflows/unitest.yml +++ b/.github/workflows/unitest.yml @@ -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 diff --git a/infer/lib/rvcmd.py b/infer/lib/rvcmd.py index d5f6bbd..e147f8b 100644 --- a/infer/lib/rvcmd.py +++ b/infer/lib/rvcmd.py @@ -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", ] )