How miduna-varshini/multi-disease-diagnostic-app works
This is a Streamlit multi-disease diagnostic app. Users sign up or log in, choose a condition, provide clinical inputs or an MRI, and receive a prediction; the app also documents PDF reports, appointment links, hospital search, speech transcription, and a Gemini health chatbot. The central workflow and several support features live in app.py, while pages/ contains separate standalone disease pages and the chatbot. Edges reflect shown code or README statements; the brain-model artifact is mentioned in the README but is absent from the provided tree.
Main entry points: app.py Shared disease workflow · Brain.py MRI tumor page · AI_Chatbot.py AI health chatbot · Heart.py Heart prediction page
Components 24
Main app
- Signup and login
app.py - Disease dashboard
app.py
Disease prediction
- Shared disease workflow
app.py - Clinical input forms
app.py - Model loader
app.py - Heart prediction page
pages/Heart.py - Diabetes prediction page
pages/Diabetes.py - Kidney prediction page
pages/Kidney.py - Liver prediction page
pages/Liver.py - MRI tumor page
pages/Brain.py
Care and assistance
- PDF report generation
app.py - Appointment booking
app.py - Hospital search
app.py - WAV transcription
app.py - AI health chatbot
pages/AI_Chatbot.py - Gemini service
- Apollo 247
- Google Maps
- Speech recognition
Model artifacts
- Heart model
models/heart_model.pkl - Diabetes model
models/diabetes_model.pkl - Kidney model
models/kidney_10f_model.pkl - Liver model
models/liver_model.pkl
Other components
- Patient
Connections 26
- Patient → Signup and login: signs in
app.py - Signup and login → Disease dashboard: opens
app.py - Patient → Disease dashboard: selects condition
app.py - Disease dashboard → Shared disease workflow: dispatches
app.py - Shared disease workflow → Clinical input forms: collects
app.py - Shared disease workflow → Model loader: loads model
app.py - Model loader → Heart model: reads
app.py - Model loader → Diabetes model: reads
app.py - Model loader → Kidney model: reads
app.py - Model loader → Liver model: reads
app.py - Patient → Heart prediction page: enters details
pages/Heart.py - Patient → Diabetes prediction page: enters details
pages/Diabetes.py - Patient → Kidney prediction page: enters details
pages/Kidney.py - Patient → Liver prediction page: enters details
pages/Liver.py - Patient → MRI tumor page: uploads MRI
pages/Brain.py - MRI tumor page → Gemini service
- Shared disease workflow → PDF report generation: generates report
app.py - PDF report generation → Patient: offers download
README.md - Shared disease workflow → Appointment booking: offers booking
app.py - Appointment booking → Apollo 247: links to
app.py - Shared disease workflow → Hospital search: offers search
app.py - Hospital search → Google Maps: links to
app.py - Patient → WAV transcription: uploads WAV
app.py - WAV transcription → Speech recognition: transcribes
app.py - Patient → AI health chatbot: asks question
pages/AI_Chatbot.py - AI health chatbot → Gemini service: sends message
pages/AI_Chatbot.py