Skip to content

Commit 839c60e

Browse files
committed
feat(rvcmd): update version to v0.2.5
1 parent 412a995 commit 839c60e

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

.github/workflows/checksum.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- name: Run RVC-Models-Downloader
1717
run: |
18-
wget https://github.com/fumiama/RVC-Models-Downloader/releases/download/v0.2.3/rvcmd_linux_amd64.deb
18+
wget https://github.com/fumiama/RVC-Models-Downloader/releases/download/v0.2.5/rvcmd_linux_amd64.deb
1919
sudo apt -y install ./rvcmd_linux_amd64.deb
2020
rm -f ./rvcmd_linux_amd64.deb
2121
rvcmd -notrs -w 1 -notui assets/all

.github/workflows/unitest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install dependencies
1919
run: |
2020
sudo apt update
21-
wget https://github.com/fumiama/RVC-Models-Downloader/releases/download/v0.2.3/rvcmd_linux_amd64.deb
21+
wget https://github.com/fumiama/RVC-Models-Downloader/releases/download/v0.2.5/rvcmd_linux_amd64.deb
2222
sudo apt -y install ./rvcmd_linux_amd64.deb
2323
python -m pip install --upgrade pip
2424
python -m pip install --upgrade setuptools

infer/lib/rvcmd.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def download_dns_yaml(url: str, folder: str):
170170
logger.info(f"downloaded into {folder}")
171171

172172

173-
def download_all_assets(tmpdir: str, version="0.2.3"):
173+
def download_all_assets(tmpdir: str, version="0.2.5"):
174174
import subprocess
175175
import platform
176176

@@ -209,13 +209,13 @@ def download_all_assets(tmpdir: str, version="0.2.3"):
209209
except Exception:
210210
BASE_URL = "https://raw.gitcode.com/u011570312/RVC-Models-Downloader/assets/"
211211
suffix = {
212-
"darwin_amd64": "460",
213-
"darwin_arm64": "461",
214-
"linux_386": "462",
215-
"linux_amd64": "463",
216-
"linux_arm64": "464",
217-
"windows_386": "465",
218-
"windows_amd64": "466",
212+
"darwin_amd64": "555",
213+
"darwin_arm64": "556",
214+
"linux_386": "557",
215+
"linux_amd64": "558",
216+
"linux_arm64": "559",
217+
"windows_386": "562",
218+
"windows_amd64": "563",
219219
}[f"{system_type}_{architecture}"]
220220
RVCMD_URL = BASE_URL + suffix
221221
download_dns_yaml(
@@ -236,6 +236,6 @@ def download_all_assets(tmpdir: str, version="0.2.3"):
236236
"0",
237237
"-dns",
238238
os.path.join(tmpdir, "dns.yaml"),
239-
"assets/all",
239+
"assets/rvc",
240240
]
241241
)

0 commit comments

Comments
 (0)