File size: 1,960 Bytes
6c9b8f1
 
 
 
 
 
 
 
 
 
 
 
 
 
954286a
6c9b8f1
 
 
 
 
 
 
 
 
 
 
 
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
26
27
28
# ── API Keys ──────────────────────────────────────────────────────────────────
NEWS_API_KEY=your_newsapi_key_here
GOOGLE_VISION_API_KEY=your_google_vision_key_here   # Optional (alternative to Tesseract)

# ── Database ──────────────────────────────────────────────────────────────────
DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/philverify

# ── Redis Cache ───────────────────────────────────────────────────────────────
REDIS_URL=redis://localhost:6379/0

# ── App Settings ──────────────────────────────────────────────────────────────
APP_ENV=development                 # development | production
DEBUG=true
LOG_LEVEL=INFO
ALLOWED_ORIGINS=["http://localhost:3000","http://localhost:5173"]

# ── Model Settings ────────────────────────────────────────────────────────────
# Options: xlm-roberta-base | joelito/roberta-tagalog-base | bert-base-multilingual-cased
ML_MODEL_NAME=xlm-roberta-base
WHISPER_MODEL_SIZE=base             # base | medium | large-v3 (large-v3 for production)
USE_GPU=false

# ── Scoring Weights ───────────────────────────────────────────────────────────
ML_WEIGHT=0.40
EVIDENCE_WEIGHT=0.60
CREDIBLE_THRESHOLD=70.0
FAKE_THRESHOLD=40.0