🩺 Women's Longevity Hack

Getting Started

Welcome to the Women's Longevity Hack demo! This app showcases a simple image classification model trained to identify breast cancer from ultrasound images. It also provides resources for exploring related datasets.

To build something like this yourself, check out the files in this repo:

  • train.py: Code to fine-tune a Hugging Face vision model (e.g., ViT) on breast ultrasound images.
  • app.py: Code for this Gradio app, which loads the model and dataset, and provides an interactive demo.

Don't be afraid to modify and experiment with the code! Or, ask ChatGPT to help you customize it for your own use case. If a generative model gives you something that doesn't work (especially if a flag is not recognized), I recommend telling the model you think it's hallucinating and checking its suggestions against the most recent documentation.