Spaces:
Running on Zero
Running on Zero
File size: 1,122 Bytes
06770e6 a4aa5c5 06770e6 a4aa5c5 06770e6 a4aa5c5 06770e6 a4aa5c5 06770e6 a4aa5c5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | ---
title: SynthCXR
emoji: π«
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: "6.9.0"
app_file: app.py
hardware: zero-a10g
pinned: false
tags:
- medical-imaging
- chest-x-ray
- diffusion
- lora
short_description: Controllable chest X-ray generation with anatomical masks
---
# π« SynthCXR Β· Chest X-Ray Generator
Interactively resize anatomical mask components (heart, left lung, right lung) with sliders and generate realistic chest X-rays using a Qwen-Image-Edit model with LoRA fine-tuning on CheXpert.
> **Zero GPU** β This Space uses HuggingFace ZeroGPU for dynamic GPU allocation. A GPU is acquired only during image generation and released immediately after.
## Features
- **Mask Scaling Sliders** β Real-time preview of organ masks scaled from 0Γ to 2Γ
- **Condition Picker** β Select from 13 CheXpert pathologies with severity modifiers
- **Demographics** β Configure patient age, sex, and radiograph view (AP/PA)
- **CXR Generation** β Generate 512Γ512 chest X-rays conditioned on the modified mask
- **Progress Bar** β Real-time step-by-step progress during generation
|