Regino commited on
Commit
875165f
Β·
1 Parent(s): 97de020
Files changed (1) hide show
  1. app.py +20 -8
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
- ## βœ… 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 detect plant diseases from leaf images.
117
- Upload a clear image of a plant leaf, and the model will predict the disease it might have.
118
-
119
  ### 🏷️ Supported Plant Diseases:
 
 
 
 
 
 
 
 
 
 
 
120
  - Early Blight
121
  - Late Blight
122
  - Leaf Mold
123
- - Powdery Mildew
124
- - Rust
125
  - Target Spot
126
- - Yellow Leaf Curl Virus
127
- - Healthy (No Disease)
 
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