Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 704 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 704 Bytes

Whisper Server

Launches a server in localhost:5000 that transcribes audio files with faster_whisper. I recommend running it with docker to avoid dealing with cuda, venvs, and so on.

whisper-server uses the large-v2 version of whisper by default. If you want to use a smaller model, make sure you preload it in the Dockerfile and build it again.

Endpoints

  • localhost:5000/transcribe
  • localhost:5000/transcribe_segments

Running with docker

Build the docker image:

docker build -t whisper-server .

Run it:

docker run --gpus all -it -p 5000:5000 whisper-server

Test it:

curl -X POST -F "file=@/path/input.wav" http://localhost:5000/transcribe