Regino
commited on
Commit
Β·
875165f
1
Parent(s):
97de020
sbdfjsdfn
Browse files
app.py
CHANGED
|
@@ -107,24 +107,36 @@ elif page == "Model Metrics":
|
|
| 107 |
except:
|
| 108 |
st.error("π¨ Model metrics files (`y_true.pth` and `y_pred.pth`) not found!")
|
| 109 |
|
| 110 |
-
|
| 111 |
elif page == "Disease Predictor":
|
| 112 |
st.title("πΏ Plant Disease Classifier")
|
| 113 |
|
| 114 |
# β
App Overview
|
| 115 |
st.write("""
|
| 116 |
-
This app uses a deep learning model to
|
| 117 |
-
|
| 118 |
-
|
| 119 |
### π·οΈ Supported Plant Diseases:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
- Early Blight
|
| 121 |
- Late Blight
|
| 122 |
- Leaf Mold
|
| 123 |
-
-
|
| 124 |
-
-
|
| 125 |
- Target Spot
|
| 126 |
-
- Yellow Leaf Curl Virus
|
| 127 |
-
-
|
|
|
|
| 128 |
""")
|
| 129 |
|
| 130 |
# β
File Upload
|
|
|
|
| 107 |
except:
|
| 108 |
st.error("π¨ Model metrics files (`y_true.pth` and `y_pred.pth`) not found!")
|
| 109 |
|
| 110 |
+
# β
Disease Predictor Page
|
| 111 |
elif page == "Disease Predictor":
|
| 112 |
st.title("πΏ Plant Disease Classifier")
|
| 113 |
|
| 114 |
# β
App Overview
|
| 115 |
st.write("""
|
| 116 |
+
This app uses a deep learning model to classify plant diseases based on leaf images.
|
| 117 |
+
Simply upload an image of a plant leaf, and the model will predict the disease or identify if the plant is healthy.
|
| 118 |
+
|
| 119 |
### π·οΈ Supported Plant Diseases:
|
| 120 |
+
#### πΆοΈ **Pepper Bell**
|
| 121 |
+
- Bacterial Spot
|
| 122 |
+
- Healthy
|
| 123 |
+
|
| 124 |
+
#### π₯ **Potato**
|
| 125 |
+
- Early Blight
|
| 126 |
+
- Late Blight
|
| 127 |
+
- Healthy
|
| 128 |
+
|
| 129 |
+
#### π
**Tomato**
|
| 130 |
+
- Bacterial Spot
|
| 131 |
- Early Blight
|
| 132 |
- Late Blight
|
| 133 |
- Leaf Mold
|
| 134 |
+
- Septoria Leaf Spot
|
| 135 |
+
- Spider Mites (Two-Spotted Spider Mite)
|
| 136 |
- Target Spot
|
| 137 |
+
- Tomato Yellow Leaf Curl Virus
|
| 138 |
+
- Tomato Mosaic Virus
|
| 139 |
+
- Healthy
|
| 140 |
""")
|
| 141 |
|
| 142 |
# β
File Upload
|