2023-02-28 20:42:53 +01:00
2023-02-08 14:45:18 +01:00
2023-02-28 20:42:53 +01:00
2023-02-08 14:09:16 +01:00
2022-12-27 11:35:08 +01:00
2023-02-08 15:51:31 +01:00
2023-01-28 12:30:02 +01:00
2023-02-28 20:20:51 +01:00
2023-02-08 14:30:06 +01:00
2023-02-28 20:42:53 +01:00

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
Description
Easy to deploy API for transcribing and translating audio / video using OpenAI's whisper model.
Readme 307 KiB
Languages
Python 90.1%
Dockerfile 6.7%
Makefile 1.8%
Mako 1.4%