Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,7 +4,6 @@ emoji: 🩻
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 5.16.0
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
|
@@ -13,6 +12,8 @@ short_description: Visual chest X-ray recommender powered by CLIP
|
|
| 13 |
|
| 14 |
# 🩻 Chest X-ray Recommender
|
| 15 |
|
|
|
|
|
|
|
| 16 |
A visual recommendation engine for chest X-rays, built with CLIP embeddings
|
| 17 |
and Gradio. Upload an X-ray **or** describe a finding in words and the app
|
| 18 |
returns 3–5 of the most visually similar studies from a pre-computed catalog
|
|
@@ -22,7 +23,7 @@ drawn from [`MLforHealthcare/mimic-cxr`](https://huggingface.co/datasets/MLforHe
|
|
| 22 |
|
| 23 |
## How it works
|
| 24 |
|
| 25 |
-
1. The companion notebook (`
|
| 26 |
2,000 chest X-rays from MIMIC-CXR.
|
| 27 |
2. Each image is embedded with
|
| 28 |
[`openai/clip-vit-base-patch32`](https://huggingface.co/openai/clip-vit-base-patch32)
|
|
@@ -38,12 +39,13 @@ drawn from [`MLforHealthcare/mimic-cxr`](https://huggingface.co/datasets/MLforHe
|
|
| 38 |
|
| 39 |
## Files in this Space
|
| 40 |
|
| 41 |
-
| File
|
| 42 |
-
|----------------------|---------|
|
| 43 |
-
| `app.py`
|
| 44 |
-
| `requirements.txt`
|
| 45 |
-
| `embeddings.parquet`
|
| 46 |
-
| `
|
|
|
|
| 47 |
|
| 48 |
## Running locally
|
| 49 |
|
|
@@ -52,7 +54,7 @@ pip install -r requirements.txt
|
|
| 52 |
python app.py
|
| 53 |
```
|
| 54 |
|
| 55 |
-
The app launches at <
|
| 56 |
|
| 57 |
## Configuration
|
| 58 |
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: indigo
|
| 6 |
sdk: gradio
|
|
|
|
| 7 |
app_file: app.py
|
| 8 |
pinned: false
|
| 9 |
license: mit
|
|
|
|
| 12 |
|
| 13 |
# 🩻 Chest X-ray Recommender
|
| 14 |
|
| 15 |
+
**🚀 Live demo:** <https://huggingface.co/spaces/Matanech/CXR_Similarity_Engine>
|
| 16 |
+
|
| 17 |
A visual recommendation engine for chest X-rays, built with CLIP embeddings
|
| 18 |
and Gradio. Upload an X-ray **or** describe a finding in words and the app
|
| 19 |
returns 3–5 of the most visually similar studies from a pre-computed catalog
|
|
|
|
| 23 |
|
| 24 |
## How it works
|
| 25 |
|
| 26 |
+
1. The companion notebook (`Assignment_3_MIMIC_CXR_Recommender_v4.ipynb`) sub-samples
|
| 27 |
2,000 chest X-rays from MIMIC-CXR.
|
| 28 |
2. Each image is embedded with
|
| 29 |
[`openai/clip-vit-base-patch32`](https://huggingface.co/openai/clip-vit-base-patch32)
|
|
|
|
| 39 |
|
| 40 |
## Files in this Space
|
| 41 |
|
| 42 |
+
| File | Purpose |
|
| 43 |
+
|-----------------------------------------------|---------|
|
| 44 |
+
| `app.py` | Gradio interface + recommendation logic |
|
| 45 |
+
| `requirements.txt` | Python dependencies |
|
| 46 |
+
| `embeddings.parquet` | Pre-computed catalog (built by the notebook) |
|
| 47 |
+
| `Assignment_3_MIMIC_CXR_Recommender_v4.ipynb` | Companion notebook (EDA, embeddings, clustering, app) |
|
| 48 |
+
| `README.md` | This file (also drives the Space card) |
|
| 49 |
|
| 50 |
## Running locally
|
| 51 |
|
|
|
|
| 54 |
python app.py
|
| 55 |
```
|
| 56 |
|
| 57 |
+
The app launches at <http://127.0.0.1:7860>.
|
| 58 |
|
| 59 |
## Configuration
|
| 60 |
|