This repository is meant as a easy-to-use docker container for setting up an API using whisper AI.

Original from here.

How to run?

Run docker-compose up to start the container.

Whisper API

An API for Whisper runs at http://localhost:5000/whisper.

To process a file yourself, use curl -F "file=@/path/to/file" http://localhost:5000/whisper

Record

The record service will record continuously and write the transcript to the file transcript.txt located in the record folder.

Testing

Running

curl http://localhost:5000

should return

Whisper Hello World!

Adding devices (audio, GPU)

https://docs.docker.com/config/containers/resource_constraints/

https://docs.nvidia.com/deeplearning/riva/user-guide/docs/quick-start-guide.html