File size: 1,221 Bytes
328fef0 | 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 33 34 35 36 37 | ---
title: CellGemma Perturbation Studio
emoji: 🧬
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 6.30.0
python_version: '3.12'
app_file: app.py
pinned: false
license: apache-2.0
short_description: Single-cell drug & CRISPR predictions with CellGemma
---
# CellGemma · Single-Cell Perturbation Studio
Interactive visual studio demonstrating how **CellGemma** (`Gemma 4 E4B` + dataset-specific Stage 2 `ExpressionDecoder`) predicts single-cell transcriptional shifts in response to:
- **Small-molecule compounds** on single **A549** lung carcinoma control cells (SMILES structure + concentration in µM)
- **CRISPRi gene knockdowns** on single **K562** chronic myeloid leukemia control cells (target human gene + STRING functional interaction network)
## Configuration
By default, the Space loads weights and assets from `google/cellgemma-e4b`. You can optionally configure:
- `CELLGEMMA_MODEL_ID`: Hugging Face model repository ID (defaults to `google/cellgemma-e4b`).
- `HF_TOKEN`: Optional Hugging Face access token secret if reading from a gated or private repository.
## Running Locally
```bash
pip install -r requirements.txt
python app.py
```
Then open `http://127.0.0.1:7860` in your browser.
|