Download backend/.env.example from bapi143/CropAI: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/spaces/bapi143/CropAI/resolve/main/backend/.env.example
- Command line
-
hf download hf://spaces/bapi143/CropAI/backend/.env.example
-
curl -L -o .env.example https://huggingface.co/spaces/bapi143/CropAI/resolve/main/backend/.env.example
553 Bytes
| # CropAI Production Backend Configuration | |
| APP_ENV=production | |
| DEBUG=false | |
| HOST=0.0.0.0 | |
| PORT=8080 | |
| # Security & CORS (comma-separated origins or *) | |
| ALLOWED_ORIGINS=* | |
| RATE_LIMIT_PER_MINUTE=120 | |
| MAX_IMAGE_SIZE_MB=15 | |
| # Google Gemini Multimodal Vision API Key (Confidential Server-Side) | |
| GEMINI_API_KEY=your_gemini_api_key_here | |
| # Local Fallback Models | |
| PRIMARY_HF_MODEL=linkanjarad/mobilenet_v2_1.0_224-plant-disease-identification | |
| RICE_HF_MODEL=prithivMLmods/Rice-Leaf-Disease | |
| # Agronomic Helplines | |
| KISAN_HELPLINE=+918817814859 | |
| EXPERT_WHATSAPP=+918817814859 | |