Skip to content

Commit

Permalink
fixes to the notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
MahmoudAshraf97 committed Aug 3, 2023
1 parent 9a230c3 commit 4160c1c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions Whisper_Transcription_+_NeMo_Diarization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@
},
"outputs": [],
"source": [
"!pip install nemo_toolkit[asr]==1.17.0\n",
"!pip install faster-whisper==0.5.1\n",
"!pip install git+https://github.com/m-bain/whisperX.git@4cb167a225c0ebaea127fd6049abfaa3af9f8bb4\n",
"!pip install --no-build-isolation nemo_toolkit[asr]==1.19.1 \n",
"!pip install faster-whisper==0.7.1\n",
"!pip install git+https://github.com/facebookresearch/demucs#egg=demucs\n",
"!pip install transformers>=4.26.1\n",
"!pip install deepmultilingualpunctuation\n",
"!pip install wget"
"!pip install wget\n",
"!pip install torch torchaudio torchvision\n",
"!pip uninstall -y nvidia-cudnn-cu11"
]
},
{
Expand Down Expand Up @@ -470,7 +471,7 @@
" vocal_target = audio_path\n",
" else:\n",
" vocal_target = os.path.join(\n",
" \"temp_outputs\", \"htdemucs\", os.path.basename(args.audio[:-4]), \"vocals.wav\"\n",
" \"temp_outputs\", \"htdemucs\", os.path.basename(audio_path[:-4]), \"vocals.wav\"\n",
" )\n",
"else:\n",
" vocal_target = audio_path"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ wget
nemo_toolkit[asr]==1.19.1
transformers>=4.26.1
faster-whisper==0.7.1
whisperx==3.1.1
git+https://github.com/m-bain/whisperX.git@4cb167a225c0ebaea127fd6049abfaa3af9f8bb4
git+https://github.com/facebookresearch/demucs#egg=demucs
deepmultilingualpunctuation

0 comments on commit 4160c1c

Please sign in to comment.