Skip to content

Commit

Permalink
Install after git clone
Browse files Browse the repository at this point in the history
  • Loading branch information
JRMeyer committed Jul 30, 2021
1 parent 6c26f61 commit aeeb254
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions notebooks/easy-transfer-learning.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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 ."
]
},
{
Expand Down Expand Up @@ -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",
Expand Down
3 changes: 2 additions & 1 deletion notebooks/train-your-first-coqui-STT-model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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 ."
]
},
{
Expand Down

0 comments on commit aeeb254

Please sign in to comment.