mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-11 13:08:35 +03:00
52ce1486054e9774a01bbb38dc3558ee20eb0fa3
whisperbox-transcribe
HTTP wrapper around openai/whisper.
API documentation
OpenAPI documentation can be accessed via <service_url>/docs.
Deploy
- Clone this repository to the host machine.
- Create an
.envfile from.env.example. - Run
make runto start the server. - Wrap in a systemd service to launch at startup.
Develop
docker compose is required for local development.
It is recommended to setup a virtual environment for python tooling. To install dependencies in your virtual env, run pip install -e .[tooling,web,worker].
Copy .env.test to .env to configure the service.
Start
make dev
Builds and starts the docker containers.
# Bindings
http://localhost:5555 => Celery dashboard
http://whisperbox-transcribe.localhost => API
http://whisperbox-transcribe.localhost => API docs
./whisperbox-transcribe.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
309 KiB
Languages
Python
90.1%
Dockerfile
6.7%
Makefile
1.8%
Mako
1.4%