Spaces:
Running
Running
| # ββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # 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 | |