Skip to content

justinwlin/WhisperXMac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Installation

You can clone this repo, and install this directly as a python package instead of using the one off of the main repo. The setup.py is changed to support arm64 vs the main repo. You will need to specify the compute type and language.

cd whisperx
pip3 install .
whisperx input.mp3 --compute_type int8 --language en

DockerHub Image:

https://hub.docker.com/repository/docker/justinwlin/whisperxmac/general

Docker Build Commands

Build Command:

docker build -t whisperx_image .

Example how to run it and mount it on your current working directory

(In mine the docker image is named justinwlin/whisperxmac:1.0) This mounts your current working directory + then runs the whisperx command on the input.mp3 file

docker run --rm -it -v $(pwd):/app justinwlin/whisperxmac:1.0 /bin/bash
whisperx input.mp3 --compute_type int8 --language en
whisperx output.mp3 --compute_type int8 --language en --highlight_words True

Depot

I'm using Depot to build my Dockerfile, to build for mac / arm64:

depot build -t whisperx_image . --platform linux/arm64 --load

Original Repo:

https://github.com/m-bain/whisperX

Github Issue:

WhisperX doesn't run on mac due to pyannote.audio upgrading a dependency to a version that doesn't support mac. pyannote/pyannote-audio#1505

WhisperX Issue: m-bain/whisperX#499

About

WhisperX Repository Modified to run on Mac

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published