This commit is contained in:
XXXXRT666 2025-04-18 13:21:36 +01:00 committed by GitHub
parent 9b5810ed0a
commit ee7626bacd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,6 +73,29 @@
"!source \"$HOME/.bashrc\" && cd /content && bash setup.sh"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## 3."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"%%writefile /content/GPT-SoVITS/run.sh\n",
"\n",
"cd /content/GPT-SoVITS\n",
"CONDA_PATH=$(conda info --base 2>/dev/null || echo \"$HOME/anaconda3\")\n",
"source \"$CONDA_PATH/etc/profile.d/conda.sh\"\n",
"conda activate GPT-SoVITS\n",
"export is_share=True\n",
"python webui.py"
]
},
{
"cell_type": "markdown",
"metadata": {},
@ -89,7 +112,7 @@
},
"outputs": [],
"source": [
"!conda activate GPT-SoVITS && export is_share=True && cd /content/GPT-SoVITS && python webui.py"
"!bash run.sh"
]
}
],