# ════════════════════════════════════════════════ # BREATHE — Sample Environment File # Copy this file to .env and fill in your values. # NEVER commit the real .env to version control. # ════════════════════════════════════════════════ # ── Flask ──────────────────────────────────────── FLASK_APP=app.py FLASK_DEBUG=true # set to false in production # A long random string — generate with: python -c "import secrets; print(secrets.token_hex(32))" SECRET_KEY=change-me-to-a-very-long-random-secret-key # ── Database ───────────────────────────────────── # SQLite (default, zero-config) DATABASE_URL=sqlite:///breathe.db # PostgreSQL (recommended for production) # DATABASE_URL=postgresql://user:password@localhost:5432/breathe # ── ML Model Paths ─────────────────────────────── # Directory containing the saved psychometric model artefacts: # base_scaler.pkl, final_scaler.pkl, le_dict.pkl, le_target.pkl, # selected_cols.pkl, poly.pkl, top_num.pkl, # lightgbm_best_model.pkl (or another *_best_model.pkl) PSYCHO_MODEL_DIR=models/psychometric # Path to the RoBERTa .pt checkpoint file ROBERTA_CKPT=models/text/roberta-model.pt # ── Server ─────────────────────────────────────── HOST=0.0.0.0 PORT=5000 # ── CORS (comma-separated origins) ────────────── # Leave as * for development, restrict in production CORS_ORIGINS=* # ── W&B (only needed if you re-train models) ───── # WANDB_API_KEY=your_wandb_api_key_here