Downloads · 30 days
0
ibrahimkhail/cnn-deployment
cnn-deployment is a machine learning model from ibrahimkhail. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
A professional web application for detecting plant diseases using Convolutional Neural Networks (CNN). Features bilingual support (English/Pashto), RTL/LTR switching, user authentication, admin dashboard, and comprehe…
Downloads · 30 days
0
Access
Public
Updated Jan 9, 2026
Repo size
143 MB
Likes
0
Public
Click a slice to open those files.
.h5134 MB · 93%
From the Hugging Face model README
A professional web application for detecting plant diseases using Convolutional Neural Networks (CNN). Features bilingual support (English/Pashto), RTL/LTR switching, user authentication, admin dashboard, and comprehensive disease management.
A professional web application for detecting plant diseases using Convolutional Neural Networks (CNN). Features bilingual support (English/Pashto), RTL/LTR switching, user authentication, admin dashboard, and comprehensive disease management.
The system detects 8 common plant diseases from the PlantVillage dataset:
English Classes:
plant-disease-classifier/
│
├── app.py # Main Flask application
├── cnn.h5 # Trained CNN model
├── requirements.txt # Python dependencies
├── Procfile # Heroku deployment
├── runtime.txt # Python version
├── .gitignore # Git ignore file
│
├── static/ # Static files
│ ├── css/
│ │ ├── style.css # Main styles
│ │ └── rtl.css # RTL styles
│ ├── js/
│ │ └── script.js # JavaScript functions
│ └── uploads/ # User uploaded images
│
├── templates/ # HTML templates
│ ├── base.html
│ ├── index.html
│ ├── login.html
│ ├── register.html
│ ├── profile.html
│ ├── prediction.html
│ ├── results.html
│ ├── analysis.html
│ ├── about.html
│ ├── contact.html
│ ├── admin_dashboard.html
│ ├── admin_users.html
│ ├── admin_messages.html
│ ├── admin_logs.html
│ ├── admin_diseases.html
│ ├── edit_disease.html
│ └── disease_info.html
│
└── plant_disease.db # SQLite database
git clone https://github.com/yourusername/plant-disease-classifier.git
cd plant-disease-classifier
requirements.txtFlask==2.3.3
flask-sqlalchemy==3.0.5
flask-login==0.6.2
flask-bcrypt==1.0.1
tensorflow==2.13.0
keras==2.13.1
numpy==1.24.3
pillow==10.0.0
schedule==1.2.0
gunicorn==21.2.0
python-dotenv==1.0.0
# Login to Heroku
heroku login
# Create Heroku app
heroku create your-app-name
# Set buildpack
heroku buildpacks:set heroku/python
# Deploy
git push heroku main
# Open application
heroku open