Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -151,6 +151,46 @@ def home_page(selected_category): # Accept selected_category as a parameter
|
|
| 151 |
elif selected_category == "Eye Disease":
|
| 152 |
# Implement Eye Disease prediction (similar to others)
|
| 153 |
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 154 |
|
| 155 |
# Main Function to Run the App
|
| 156 |
def main():
|
|
|
|
| 151 |
elif selected_category == "Eye Disease":
|
| 152 |
# Implement Eye Disease prediction (similar to others)
|
| 153 |
pass
|
| 154 |
+
# About Page Content
|
| 155 |
+
def about_page():
|
| 156 |
+
st.header('About the Project')
|
| 157 |
+
st.write("""
|
| 158 |
+
This web app detects different diseases using machine learning models.
|
| 159 |
+
The diseases it covers include:
|
| 160 |
+
""")
|
| 161 |
+
|
| 162 |
+
st.subheader("1. Brain Tumor Detection")
|
| 163 |
+
st.write("""
|
| 164 |
+
**Brain Tumor Detection** involves classifying various types of brain tumors using image analysis.
|
| 165 |
+
The model can identify different classes of brain tumors such as Astrocytomas, Gliomas, and more.
|
| 166 |
+
It aids doctors in diagnosing brain tumors early for timely intervention.
|
| 167 |
+
""")
|
| 168 |
+
|
| 169 |
+
st.subheader("2. Alzheimer’s Disease Detection")
|
| 170 |
+
st.write("""
|
| 171 |
+
**Alzheimer's Disease Detection** focuses on predicting the stages of Alzheimer's disease from brain scans.
|
| 172 |
+
It classifies the brain images into stages such as Mild Demented, Moderate Demented, and Non-Demented.
|
| 173 |
+
Early detection of Alzheimer's can help in planning the appropriate treatment for patients.
|
| 174 |
+
""")
|
| 175 |
+
|
| 176 |
+
st.subheader("3. Skin Disease Classification")
|
| 177 |
+
st.write("""
|
| 178 |
+
**Skin Disease Classification** uses deep learning models to detect and classify different types of skin lesions.
|
| 179 |
+
This includes conditions like Melanoma, Basal Cell Carcinoma, and various benign lesions.
|
| 180 |
+
Early detection of skin cancer, like Melanoma, can significantly improve the survival rate of patients.
|
| 181 |
+
""")
|
| 182 |
+
|
| 183 |
+
st.subheader("4. Eye Disease Detection")
|
| 184 |
+
st.write("""
|
| 185 |
+
**Eye Disease Detection** (TBD) focuses on diagnosing eye conditions from images of the eye.
|
| 186 |
+
This could include diseases such as diabetic retinopathy, cataracts, and glaucoma, which can affect vision and lead to blindness if untreated.
|
| 187 |
+
""")
|
| 188 |
+
|
| 189 |
+
st.write("""
|
| 190 |
+
This is a project by **Fawad Haider** and **Sameer Ahmed**.
|
| 191 |
+
We aim to assist healthcare professionals in diagnosing various diseases early, improving the accuracy of predictions using AI and deep learning models.
|
| 192 |
+
""")
|
| 193 |
+
|
| 194 |
|
| 195 |
# Main Function to Run the App
|
| 196 |
def main():
|