File size: 798 Bytes
df4a21a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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