Files
whisperbox-transcribe/README.md
2023-02-28 20:42:53 +01:00

998 B

whisper-api

HTTP wrapper around openai/whisper.

API documentation

OpenAPI documentation can be accessed via <service_url>/docs.

Deploy

// TODO

Develop

It is recommended to setup a virtual environment for python tooling. To install dependencies dependencies in your virtual env, run pip install -e .[tooling,web,worker]

docker-compose is required for local development. Configuration such as API_SECRET can be adjusted in ./docker/dev/docker-compose.yml.

Start

make dev

Builds and starts the docker containers.

# Bindings
http://localhost:5555      => Celery dashboard
http://localhost:8000      => API
http://localhost:8000/docs => API docs
./whisperbox.sqlite        => Database

Destroy

This removes all containers and attached volumes.

make clean

Test

make test

Lint

make lint

Format

make fmt