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

chore(format): run black on dev (#1)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-06-05 19:18:22 +09:00
committed by GitHub
parent 50d46982d2
commit 8dd06315ed
2 changed files with 4 additions and 4 deletions

View File

@@ -81,7 +81,9 @@ class Config:
parser = argparse.ArgumentParser()
parser.add_argument("--port", type=int, default=7865, help="Listen port")
parser.add_argument("--pycmd", type=str, default=exe, help="Python command")
parser.add_argument("--global_link", action="store_true", help="Generate a global proxy link")
parser.add_argument(
"--global_link", action="store_true", help="Generate a global proxy link"
)
parser.add_argument(
"--noparallel", action="store_true", help="Disable parallel processing"
)

View File

@@ -195,9 +195,7 @@ def download_all_assets(tmpdir: str, version="0.2.3"):
logger.error(f"architecture {architecture} is not supported")
exit(1)
try:
BASE_URL = (
"https://github.com/fumiama/RVC-Models-Downloader/releases/download/"
)
BASE_URL = "https://github.com/fumiama/RVC-Models-Downloader/releases/download/"
suffix = "zip" if is_win else "tar.gz"
RVCMD_URL = BASE_URL + f"v{version}/rvcmd_{system_type}_{architecture}.{suffix}"
cmdfile = os.path.join(tmpdir, "rvcmd")