Install after git clone

This commit is contained in:
Josh Meyer 2021-07-27 11:38:10 -04:00
parent 6c26f616ba
commit aeeb2549b1
2 changed files with 5 additions and 3 deletions

View File

@ -35,7 +35,8 @@
"outputs": [],
"source": [
"## Install Coqui STT if you need to\n",
"# !pip install https://github.com/coqui-ai/STT/archive/main.zip"
"# !git clone --depth 1 https://github.com/coqui-ai/STT.git\n",
"# !cd STT; pip install -U pip wheel setuptools; pip install ."
]
},
{
@ -66,7 +67,7 @@
" model_dir=\"english/\"\n",
" if not os.path.exists(\"english/coqui-yesno-checkpoints\"):\n",
" maybe_download(\"model.tar.gz\", model_dir, \"https://github.com/coqui-ai/STT-models/releases/download/english%2Fcoqui%2Fyesno-v0.0.1/coqui-yesno-checkpoints.tar.gz\")\n",
" print('No extracted pre-trained model found. Extracting now...')\n",
" print('\nNo extracted pre-trained model found. Extracting now...')\n",
" tar = tarfile.open(\"english/model.tar.gz\")\n",
" tar.extractall(\"english/\")\n",
" tar.close()\n",

View File

@ -33,7 +33,8 @@
"outputs": [],
"source": [
"## Install Coqui STT if you need to\n",
"# !pip install https://github.com/coqui-ai/STT/archive/main.zip"
"# !git clone --depth 1 https://github.com/coqui-ai/STT.git\n",
"# !cd STT; pip install -U pip wheel setuptools; pip install ."
]
},
{