mirror of
https://github.com/bellingcat/whisperbox-transcribe.git
synced 2026-06-08 03:28:35 +03:00
1.2 KiB
1.2 KiB
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