A newer version of the Gradio SDK is available:
6.1.0
metadata
title: BiomedCLIP-BioGPT-IndicTrans2 Radiology Report Generator
emoji: π¬
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.49.1
app_file: app.py
pinned: false
π¬ Cascading BiomedCLIP-BioGPT & IndicTrans2 Radiology Report Generator
This Space demonstrates a two-stage pipeline:
- Stage 1 (Report Generation): A fine-tuned BiomedCLIP image encoder and BioGPT decoder generate a radiology report in English from a chest X-ray image. The checkpoint files (
biomedclipp.pth,biogptt.pth,projectorr.pth) are loaded usinghuggingface_hub.hf_hub_downloadfrom this repository. - Stage 2 (Translation): The English report is automatically translated into Hindi using the IndicTrans2 model from AI4Bharat.
Note on Checkpoints:
The file app.py is configured to download the checkpoints from the model's repository. Ensure the following files are uploaded to this repository and the REPO_ID in app.py is correctly set:
biomedclipp.pthbiogptt.pthprojectorr.pth