AsmaaElnagger's picture
update readme
16ee864
metadata
title: DiabeticRetionPathyDetection
emoji: πŸš€
colorFrom: red
colorTo: red
sdk: docker
app_port: 8501
tags:
  - streamlit
pinned: false
short_description: Streamlit template space

Diabetic Retinopathy Detection

Project Logo

A Streamlit-based web application for detecting diabetic retinopathy from eye fundus images using a deep learning model from Hugging Face.

Open in Streamlit Hugging Face Model

πŸ” 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)

  1. Build the Docker image:
docker build -t diabetic-retinopathy .
  1. Run the container:
docker run -p 8501:8501 diabetic-retinopathy
  1. Access the app at http://localhost:8501

Without Docker

  1. Install dependencies:
pip install -r requirements.txt
  1. Download the model:
python download_model.py
  1. 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

πŸ“š Resources