Spaces:
Runtime error
Runtime error
| # Server Configuration | |
| HOST=0.0.0.0 | |
| PORT=8888 | |
| RELOAD=true | |
| # CORS Configuration (comma-separated list of allowed origins) | |
| CORS_ORIGINS=http://localhost:3000,http://localhost:5173,https://yourdomain.com | |
| # Whisper Model Configuration | |
| WHISPER_MODEL=OdyAsh/faster-whisper-base-ar-quran | |
| # Device: cuda or cpu | |
| # Leave CUDA_VISIBLE_DEVICES empty to auto-detect, or set specific GPU(s) | |
| CUDA_VISIBLE_DEVICES=0 | |
| # Compute type: float32, float16, int8 | |
| # float16 is recommended for balance between speed and accuracy | |
| # int8 is smaller but less accurate | |
| # float32 is most accurate but slowest | |
| COMPUTE_TYPE=float32 | |
| # Logging level: DEBUG, INFO, WARNING, ERROR, CRITICAL | |
| LOG_LEVEL=INFO | |
| # Maximum file size in MB | |
| MAX_FILE_SIZE=100 | |
| # Worker processes for uvicorn | |
| WORKERS=1 | |