Use pip to install uv instead of shell and PATH
This commit is contained in:
@@ -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"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user