A newer version of the Gradio SDK is available:
6.2.0
metadata
title: Chest X-Ray Zero-Shot Classifier
emoji: 🩻
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.47.2
app_file: src/app.py
pinned: false
license: mit
Chest X-Ray Zero-Shot Classifier
This application uses the Google CXR Foundation model to perform zero-shot classification of Chest X-Rays for Pneumothorax.
Detection Logic
- Model:
google/cxr-foundation(ELIXR-C Image Encoder + QFormer) - Method: Zero-Shot Classification comparing image embeddings to text embeddings ("small pneumothorax" vs "no pneumothorax").
- Binary Threshold:
-0.1173(Calibrated on a local Kaggle Pneumothorax dataset using Youden's J statistic).
Performance
- Local Kaggle Dataset AUC: 0.8804
How to use
- Upload a valid Chest X-Ray (PNG, JPG, or DICOM).
- Click "Analyze Image".
- View the prediction and confidence score.