Initial commit: Whisper API with FastAPI, GPU support and Admin Dashboard
This commit is contained in:
27
.env.example
Normal file
27
.env.example
Normal file
@@ -0,0 +1,27 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user