Skip to content

Commit

Permalink
Update legen.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusbach authored Feb 23, 2024
1 parent 0909e84 commit 2fe5916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legen.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"# install pip requirements.txt updating\n",
"print(\"Installing or updating pip requirements...\", end='')\n",
"with open('/content/error_log.txt', 'a') as f:\n",
" process = subprocess.Popen('pip3 install --upgrade $(grep -v \"git+https://github.com/m-bain/whisperx.git\" requirements.txt | grep -v \"torch\") && pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 && pip3 install git+https://github.com/m-bain/whisperx.git --upgrade', cwd=local_folder, shell=True, stderr=f)\n",
" process = subprocess.Popen('pip3 install --upgrade $(grep -v \"git+https://github.com/matheusbach/whisperx.git\" requirements.txt | grep -v \"torch\") && pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 && pip3 install git+https://github.com/matheusbach/whisperx.git --upgrade', cwd=local_folder, shell=True, stderr=f)\n",
" return_code = process.wait()\n",
" print(\"[✔]\" if return_code == 0 else \"[✗]\")\n",
"\n",
Expand Down

0 comments on commit 2fe5916

Please sign in to comment.