Spaces:
Sleeping
Sleeping
File size: 1,993 Bytes
5a264f5 | 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 29 30 31 32 33 34 35 36 37 38 39 40 41 | # ββββββββββββββββββββββββββββββββββββββββββββββββ
# 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
|