How dasrohit15/lungs_disease_prediction works
This is a Streamlit chest-X-ray classifier: a user uploads an image, the app preprocesses it, runs a VGG16-based model, and presents disease predictions and probabilities. It also provides medical guidance, tracks session history, and supports CSV export. The workflow and these capabilities are documented or visible in app.py; components are grouped by responsibility, though they share that implementation file. The model asset is loaded by the app. The separate class_names.json is not referenced in the sampled source, so its runtime role is unclear.
Main entry points: app.py Streamlit App · lungs_disease_vgg16.h5 VGG16 Model
Components 12
User Interface
- Streamlit App
app.py - Image Upload
app.py
Image Analysis
- Image Preprocessing
app.py - VGG16 Model
lungs_disease_vgg16.h5 - Disease Inference
app.py
Results
- Class Selection
app.py - Confidence Check
app.py - Medical Advice
app.py - Probability Views
app.py
History
- Session History
app.py - CSV Export
app.py
Other components
- User
Connections 11
- User → Streamlit App: uses
app.py - Streamlit App → Image Upload: offers
app.py - Streamlit App → Image Preprocessing: preprocesses
app.py - Streamlit App → VGG16 Model: loads
app.py - Streamlit App → Disease Inference: predicts
app.py - Streamlit App → Class Selection: selects class
app.py - Streamlit App → Confidence Check: checks
app.py - Streamlit App → Medical Advice: displays advice
app.py - Streamlit App → Probability Views: renders
app.py - Streamlit App → Session History: records
app.py - Streamlit App → CSV Export: exports
app.py