How mahesh882r/agriculture-ai-assistant works
This is a Streamlit agricultural advisory app: farmers enter soil and climate data, plant symptoms or images, or fertilizer inputs, then receive crop, disease, or fertilizer guidance. The app is the workflow entry point and invokes the corresponding recommendation module; it also loads shared styling. Disease matching, crop scoring, and nutrient calculations are distinct domain stages within their respective modules. The README documents treatment and prevention guidance and fertilizer application instructions. Source excerpts are partial, so the graph omits uncertain internal calls and does not imply external AI or data-service integrations.
Main entry points: app.py Streamlit application · disease_prediction.py Disease detection · crop_prediction.py Crop prediction · fertilizer_recommendation.py Fertilizer recommendation
Components 6
Application interface
- Streamlit application
app.py
Advisory systems
- Crop prediction
crop_prediction.py - Disease detection
disease_prediction.py - Fertilizer recommendation
fertilizer_recommendation.py
Shared presentation
- UI styling
utils.py
Other components
- Farmer
Connections 7
- Farmer → Streamlit application: enters inputs
- Streamlit application → Crop prediction: requests crop advice
- Streamlit application → Disease detection: requests disease analysis
- Streamlit application → Disease detection: looks up disease details
- Streamlit application → Fertilizer recommendation: requests fertilizer advice
- Streamlit application → UI styling: loads styling
- Streamlit application → Farmer: displays guidance