diff --git a/colab_webui.ipynb b/colab_webui.ipynb index 79717cc..21722da 100644 --- a/colab_webui.ipynb +++ b/colab_webui.ipynb @@ -82,7 +82,7 @@ "source": [ "# @title launch WebUI 启动WebUI\n", "!/usr/local/bin/pip install ipykernel\n", - "!sed -i 's/os.environ.get("is_share","False")/os.environ.get("is_share","True")/g' /content/GPT-SoVITS/config.py\n", + "!sed -i '9s/False/True/' /content/GPT-SoVITS/config.py\n", "%cd /content/GPT-SoVITS/\n", "!/usr/local/bin/python webui.py" ], @@ -93,4 +93,4 @@ "outputs": [] } ] -} +} \ No newline at end of file