INNER CODE UNIT · Python
load_cnn_model
Niketkumardheeryan/ML-CaPsule · Alzheimer's Disease Predictor/app.py:41
def load_cnn_model():
model = load_model("alzheimer_model.h5")
return model
# ── UI ─────────────────────────────────────────────────────────────────────────
st.title("🧠 Alzheimer's Disease Predictor")
st.write("Upload a brain MRI scan image to predict the Alzheimer's disease stage.")
st.markdown("---")
# Info box
st.info("""
**How to use:**
1. Upload a brain MRI scan image (JPG or PNG)
2. The model will classify it into one of 5 categories
3. Results are shown instantly
""")