- Download Docker for Desktop
- Create an audio file (.wav) and save it in your Desktop folder. Example: ~/Desktop/sample-audio.wav
- Build the Docker image and transcribe the audio
docker build -t whisper-app .
docker run -it --rm -v ~/Desktop:/app/audio whisper-app python transcribe.py /app/audio/sample-audio.wav
- You may load a different model in the
transcribe.py
and rebuild the docker image and re-run the docker container.