From 496894e4dcc1c78627f6e632a86528a5880a060d Mon Sep 17 00:00:00 2001 From: litagin02 Date: Sat, 1 Jun 2024 15:25:39 +0900 Subject: [PATCH] Use pip to install uv instead of shell and PATH --- colab.ipynb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/colab.ipynb b/colab.ipynb index 6322f0e..617321e 100644 --- a/colab.ipynb +++ b/colab.ipynb @@ -45,17 +45,12 @@ }, "outputs": [], "source": [ - "import os\n", - "\n", - "\n", - "os.environ[\"PATH\"] += \":/root/.cargo/bin\"\n", - "\n", - "!curl -LsSf https://astral.sh/uv/install.sh | sh\n", "!git clone https://github.com/litagin02/Style-Bert-VITS2.git\n", "%cd Style-Bert-VITS2/\n", "# 後で消す!!!\n", "!git checkout dev\n", "# 後で消す!!!\n", + "!pip install uv\n", "!uv pip install --system -r requirements-colab.txt\n", "!python initialize.py --skip_default_models" ]