mirror of
https://github.com/steveseguin/caption-local.git
synced 2026-10-09 17:49:30 +00:00
21 lines
729 B
Bash
21 lines
729 B
Bash
CAPTION_MODEL=small
|
||
CAPTION_THREADS=4
|
||
CAPTION_PORT=8765
|
||
# Set to 1 only after this model has downloaded successfully into the volume.
|
||
CAPTION_OFFLINE=0
|
||
|
||
# Concurrent model workers; threads above are per worker.
|
||
CAPTION_WORKERS=1
|
||
CAPTION_MAX_STREAMS=12
|
||
|
||
# Decoder search width (1–5); smaller is faster, accuracy can change.
|
||
CAPTION_BEAM_SIZE=5
|
||
|
||
# Optional shared service token: at least 24 ASCII characters, no whitespace.
|
||
# Leave empty for trusted localhost/SSH-only use. Never use a cloud provider key.
|
||
CAPTION_API_KEY=
|
||
# Optional hosted capture page; requires a token. Exact origins only, no paths.
|
||
CAPTION_ALLOWED_ORIGINS=
|
||
# Metadata-only HTTP status/duration JSON; no audio, captions or credentials.
|
||
CAPTION_LOG_REQUESTS=0
|