Skip to content

dev-namespace/whisper-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published