This commit is contained in:
XXXXRT666 2025-04-18 04:39:01 +01:00 committed by GitHub
parent 24934d2b44
commit ba067a1e83
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,7 +16,8 @@
"id": "_o6a8GS2lWQM" "id": "_o6a8GS2lWQM"
}, },
"source": [ "source": [
"环境配置 environment" "# Env Setup, Run Only Once\n",
"# 环境配置, 只需运行一次"
] ]
}, },
{ {
@ -70,6 +71,14 @@
"%cd -q /content/GPT-SoVITS" "%cd -q /content/GPT-SoVITS"
] ]
}, },
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# UVR5 Model Download, Run Only Once\n",
"# UVR5 模型下载, 只需运行一次"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
@ -78,7 +87,7 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"# @title UVR5 Pretrained Models\n", "%cd -q /content/GPT-SoVITS\n",
"!wget https://www.modelscope.cn/models/XXXXRT/UVR5Weights4GSV/resolve/master/uvr5_weights.zip\n", "!wget https://www.modelscope.cn/models/XXXXRT/UVR5Weights4GSV/resolve/master/uvr5_weights.zip\n",
"!unzip uvr5_weights.zip\n", "!unzip uvr5_weights.zip\n",
"!rm -rf uvr5_weights.zip\n", "!rm -rf uvr5_weights.zip\n",
@ -86,6 +95,14 @@
"!rm -rf uvr5_weights" "!rm -rf uvr5_weights"
] ]
}, },
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Launch WebUI\n",
"# 启动 WebUI"
]
},
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": null,
@ -95,8 +112,8 @@
"outputs": [], "outputs": [],
"source": [ "source": [
"# @title launch WebUI 启动WebUI\n", "# @title launch WebUI 启动WebUI\n",
"!conda activate GPT-SoVITS && pip install ipykernel\n", "%cd -q /content/GPT-SoVITS\n",
"!conda activate GPT-SoVITS && export is_share=False && python webui.py" "!conda activate GPT-SoVITS && pip install ipykernel && export is_share=False && python webui.py"
] ]
} }
], ],