28 lines
576 B
Plaintext
28 lines
576 B
Plaintext
# Whisper API Environment Configuration
|
|
|
|
# Server Settings
|
|
PORT=8000
|
|
HOST=0.0.0.0
|
|
|
|
# Whisper Model Configuration
|
|
WHISPER_MODEL=large-v3
|
|
WHISPER_DEVICE=cuda
|
|
WHISPER_COMPUTE_TYPE=float16
|
|
|
|
# API Authentication
|
|
# Multiple API keys separated by commas
|
|
API_KEYS=sk-your-api-key-here,sk-another-api-key
|
|
|
|
# Admin Panel Authentication
|
|
ADMIN_USER=admin
|
|
ADMIN_PASSWORD=-whisper12510-
|
|
|
|
# Data Retention (days)
|
|
LOG_RETENTION_DAYS=30
|
|
|
|
# Optional: Sentry for error tracking
|
|
# SENTRY_DSN=https://your-sentry-dsn-here
|
|
|
|
# Optional: HuggingFace Cache (for model downloads)
|
|
# HF_HOME=/app/models
|