Spaces:
Runtime error
Runtime error
Download .env.example from lukhsaankumar/DeepFakeDetectorBackend: direct link, hf CLI and curl.
- Browser
- Download file 798 Bytes
-
https://huggingface.co/spaces/lukhsaankumar/DeepFakeDetectorBackend/resolve/main/.env.example
- Command line
-
hf download hf://spaces/lukhsaankumar/DeepFakeDetectorBackend/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/lukhsaankumar/DeepFakeDetectorBackend/resolve/main/.env.example
798 Bytes
| # DeepFake Detector Backend - Environment Variables | |
| # Copy this file to .env and update with your values | |
| # Hugging Face Configuration | |
| # Available fusion models: | |
| # - DeepFakeDetector/fusion-logreg-final (Logistic Regression - default) | |
| # - DeepFakeDetector/fusion-meta-final (Meta-classifier) | |
| HF_FUSION_REPO_ID=DeepFakeDetector/fusion-logreg-final | |
| HF_CACHE_DIR=.hf_cache | |
| # HF_TOKEN=your_huggingface_token_here # Optional: for private repos | |
| # Google Gemini API (Optional - for LLM explanations) | |
| # GOOGLE_API_KEY=your_google_api_key_here | |
| # Server Configuration | |
| HOST=0.0.0.0 | |
| PORT=8000 | |
| # CORS Configuration (comma-separated list of allowed origins) | |
| CORS_ORIGINS=http://localhost:8082,https://www.deepfake-detector.app,https://deepfake-detector.app | |
| # Debugging | |
| ENABLE_DEBUG=false | |
| LOG_LEVEL=INFO | |