A newer version of the Gradio SDK is available:
5.42.0
metadata
title: Gemma‑3n SOAP Generator
emoji: 🩺
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.38.2
app_file: app.py
pinned: false
Gemma‑3n SOAP Generator Space
This Space uses the google/gemma-3n-e2b-it
model to:
- Generate 100 synthetic doctor’s notes and corresponding SOAP “ground truths” on startup.
- Save
doc_notes.tsv
andground_truth_soap.tsv
to the workspace. - Expose a no‑op Gradio UI stub for demonstration.
SDK & Dependencies
Make sure you have the following installed (see requirements.txt
):
- Transformers (from source):
git+https://github.com/huggingface/transformers.git
- BitsAndBytes for 8‑bit quantization
- Accelerate for device mapping
- Timm (model helpers)
- EasyOCR (if using OCR features)
- Gradio for the UI
- Hugging Face Hub SDK:
huggingface_hub
Install them all via:
pip install --no-deps \
git+https://github.com/huggingface/transformers.git \
bitsandbytes accelerate timm easyocr gradio huggingface_hub