WhisperX splits single audio input into segments to parallel inference, but this project ONLY focus on using the batch-infernecing enabled faster-whisper to serve multiple request.
Please follow https://github.com/m-bain/whisperX to install conda env, then
pip install -r requirements.txt
to install mosec framework and other packages.
python main.pyor
You can choose to use the one of the following method:
Dockerfiledocker buildx build -t <docker_hub_user_name>/<image_name> --push .
build.envdenvd build -f :whisper_serving --output type=image,name=docker.io/<docker_hub_user_name>/<image_name> --push
python client.py