CropAI / backend /.env.example
bapi143's picture
Deploy CropAI Backend
5fd7795
Raw History Blame Contribute Delete
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