Spaces:
Sleeping
Sleeping
Download env.template from learner20011/clovershield_ml_api: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/spaces/learner20011/clovershield_ml_api/resolve/main/env.template
- Command line
-
hf download hf://spaces/learner20011/clovershield_ml_api/env.template
-
curl -L -o env.template https://huggingface.co/spaces/learner20011/clovershield_ml_api/resolve/main/env.template
1.03 kB
| # CloverShield ML API Environment Variables | |
| # Copy this file to .env and fill in your values | |
| # Supabase Configuration | |
| # Found in: Supabase Dashboard -> Project Settings -> API | |
| SUPABASE_URL= put your supabase url here | |
| SUPABASE_SERVICE_ROLE_KEY= put your supabase service role key here | |
| SUPABASE_KEY= put your supabase key here | |
| # Model Configuration | |
| MODEL_PATH=Models/fraud_pipeline_final.pkl | |
| MODEL_THRESHOLD=0.00754482 | |
| # Server Configuration | |
| PORT=8000 | |
| HOST=0.0.0.0 | |
| # Memory Optimization (for limited RAM environments like Render free tier) | |
| # Maximum number of rows to use for fitting feature engineer (default: 50000) | |
| # Reduce this if you're running out of RAM (e.g., 20000 or 10000) | |
| MAX_FIT_ROWS=50000 | |
| # Limit PageRank computation to top N nodes (default: 10000, set to 0 to disable limit) | |
| # Reduce this for very large graphs to save memory (e.g., 5000) | |
| PAGERANK_LIMIT=10000 | |
| # LLM Explanations (Optional) | |
| GROQ_API_KEY=your-groq-api-key-here | |
| # API Authentication (Optional - add if implementing auth) | |
| # API_KEY=your-api-key-here | |