AsmaaElnagger/DiabeticRetionPathyDetection
0
Diabetic Retinopathy Detection
![]()
A Streamlit-based web application for detecting diabetic retinopathy from eye fundus images using a deep learning model from Hugging Face.
 
๐ Overview
This application uses a pre-trained deep learning model to classify eye fundus images into different stages of diabetic retinopathy. The model is hosted on Hugging Face and integrated into a user-friendly Streamlit interface.
๐ Getting Started
Using Docker (Recommended)
- Build the Docker image:
docker build -t diabetic-retinopathy .- Run the container:
docker run -p 8501:8501 diabetic-retinopathy- Access the app at
http://localhost:8501
Without Docker
- Install dependencies:
pip install -r requirements.txt- Download the model:
python download_model.py- Run the Streamlit app:
streamlit run src/streamlit_app.py๐ง Model Information
- Model Name: diabetic-eye
- Repository: Asmaa111/diabetic-eye
- Framework: PyTorch
- Input: Eye fundus images (JPEG/PNG)
- Output: Classification into retinopathy stages
๐ Project Structure
DiabeticRetionPathyDetection/
โโโ .streamlit/ # Streamlit configuration
โโโ src/
โ โโโ streamlit_app.py # Main application code
โโโ Dockerfile # Docker configuration
โโโ download_model.py # Model download script
โโโ requirements.txt # Python dependencies
โโโ README.md # Project documentation๐ Live Demo
Try the live version hosted on Hugging Face Spaces: DiabeticRetionPathyDetection Demo
