mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-08 03:28:35 +03:00
4eed77bfa7d63f6230248eefcdf1d5412591a1c9
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:8000 => API
http://localhost:8000/docs => API docs
http://localhost:5555 => Celery dashboard
./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%