modified path

This commit is contained in:
XXXXRT666 2025-04-18 08:15:09 +01:00 committed by GitHub
parent c928b7b5ce
commit 640d9e85f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,7 +33,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"%%writefile setup.sh\n", "%%writefile /content/setup.sh\n",
"set -e\n", "set -e\n",
"\n", "\n",
"if command -v conda >/dev/null 2>&1; then\n", "if command -v conda >/dev/null 2>&1; then\n",
@ -80,9 +80,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"%cd -q /content\n", "!cd /content && bash setup.sh"
"!bash setup.sh\n",
"%cd -q /content/GPT-SoVITS"
] ]
}, },
{ {
@ -101,9 +99,7 @@
}, },
"outputs": [], "outputs": [],
"source": [ "source": [
"# @title launch WebUI 启动WebUI\n", "!conda activate GPT-SoVITS && pip install ipykernel && export is_share=True && cd /content/GPT-SoVITS && python webui.py"
"%cd -q /content/GPT-SoVITS\n",
"!conda activate GPT-SoVITS && pip install ipykernel && export is_share=False && python webui.py"
] ]
} }
], ],