Skip to content

whisper

Repo box/github.com/opencharly/layer-whisper:v2026.325.1751

OpenAI Whisper speech-to-text, served as an OpenAI-compatible ASR endpoint. Installs openai-whisper through pixi and runs a charly-owned FastAPI app (app.py) as a supervised service on port 9000: POST /v1/audio/transcriptions (multipart file, optional model/language) returns a JSON body whose top-level text is what Open Web UI reads, plus GET /health and GET /v1/models. The checkpoint is loaded once per process and reused (never a CLI invocation per request), prefetched onto a volume by the start script so the first request does not pay for a download, and every knob below is env-configurable at deploy time. env_provide publishes WHISPER_BASE_URL so a consumer (e.g. the openwebui candy) discovers the endpoint through charly instead of a hand-typed variable. Verifiable: the service answers /health, serves an OpenAI-shaped model list, and transcribes a committed fixture through its own HTTP surface.

  • whisper-asr

This candy’s plan: — the runnable spec charly check executes against a live deployment. check: steps are idempotent probes; run: steps change state.

Intent Step
run mkdir=${HOME}/.local/bin
run copy the charly-owned ASR app
run copy the fixture the transcription check decodes
run write the start script — prefetch the checkpoint, then exec uvicorn
check the ASR service answers its health endpoint
check the served API advertises an OpenAI-shaped model list
check the served API transcribes the committed fixture and returns its words
check a bound deployment resolves HOME to the image user, so the model cache is the bound store
check a model this server does not serve is refused, naming both