| # Hugging Face model ID (default: text+asr transformer trained on Tashkeela + CLArTTS) | |
| MODEL_NAME=rufaelfekadu/diac-transformer-text-only-tashkeela | |
| # Optional API key — if set, clients must send header: X-API-Key: <value> | |
| API_KEY= | |
| # Backend port (host mapping in docker-compose) | |
| PORT=8000 | |
| # Frontend port when using Docker | |
| FRONTEND_PORT=80 | |
| # Allowed CORS origins (comma-separated) | |
| CORS_ORIGINS=http://localhost:5173,http://localhost:80,http://localhost | |
| # Path to Diac constants/ folder (must exist at runtime) | |
| DIAC_CONSTANTS_PATH=constants/ | |
| # Max characters per input line | |
| DIAC_MAX_CHARS=5000 | |
| # Frontend dev: API base URL (use /api with Vite proxy, or full backend URL) | |
| VITE_API_BASE_URL=/api | |
| # Frontend dev: optional API key (must match API_KEY on backend) | |
| VITE_API_KEY= | |
| # Whisper ASR model for /transcribe/audio | |
| ASR_MODEL_NAME=sashat/whisper-medium-ClassicalAr | |
| ASR_DEVICE=cpu | |
| MAX_AUDIO_MB=25 | |
| ALLOWED_AUDIO_EXTENSIONS=.wav,.mp3,.flac,.ogg,.m4a,.aac,.webm | |
| SUPABASE_URL=https://sdtafyhtxbzoihxukpbk.supabase.co | |
| SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InNkdGFmeWh0eGJ6b2loeHVrcGJrIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTc3OTM2MzU1OSwiZXhwIjoyMDk0OTM5NTU5fQ.lFdm9IWh1fc2R1aoo2Z91aUSkSY6wNf0cR4HESoyzvE | |
| SUPABASE_STORAGE_BUCKET=audio-recordings | |
| SUPABASE_TABLE_NAME=diacritization_records |