How to use distil-whisper
I got this from a Kevin Stratvert video showing how to use Whisper for audio to text in Google Colab.How would I modify it to use Distil-whisper?I went to Hugging Face and tried to follow that code but I keep running into errors.!pip install git+https://github.com/openai/whisper.git
!sudo apt update && sudo apt install ffmpeg
!whisper "Adjusting the Spray Guard.mp3" --model mediumThe example on Hugging Face used far more code than just these three lines.
2024-06-01T10:25:53Z
Hi,So the code snippet here shows how to use DistilWhisper to transcribe a long audio file:GitHub - huggingface/distil-whisper: Distilled variant of Whisper for speech recognition. 6x faster, 50% smaller, within 1% word error rate..I guess you would just require to get the audio from the video and pass it along.