Spaces:
Sleeping
Sleeping
| # Flask Configuration | |
| FLASK_ENV=production | |
| FLASK_DEBUG=0 | |
| # Server Configuration | |
| PORT=8080 | |
| PYTHONUNBUFFERED=1 | |
| # Runtime Directories | |
| ACTIVITY_WEB_RUNTIME_DIR=/data/activity_runtime | |
| ACTIVITY_WEB_UPLOAD_DIR=/data/activity_runtime/uploads | |
| ACTIVITY_WEB_OUTPUT_DIR=/data/activity_runtime/outputs | |
| ACTIVITY_WEB_ATTENDANCE_DIR=/data/activity_runtime/attendance | |
| # ML Model Configuration (Optional - for S3 or remote storage) | |
| # AWS_ACCESS_KEY_ID=your_aws_key | |
| # AWS_SECRET_ACCESS_KEY=your_aws_secret | |
| # AWS_REGION=us-east-1 | |
| # AWS_S3_BUCKET=your-bucket-name | |
| # Model Cache Directories (for auto-download models) | |
| TORCH_HOME=/data/activity_runtime/torch_cache | |
| HF_HOME=/data/activity_runtime/huggingface_cache | |
| ULTRALYTICS_HOME=/data/activity_runtime/ultralytics | |
| # Optional: Logging | |
| # LOG_LEVEL=INFO | |
| # LOG_FILE=/data/activity_runtime/logs/app.log | |