Spaces:
Running on Zero
Running on Zero
| 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 | |