Spaces:
Running on Zero

cellgemma / README.md
MaartenGr's picture
Preparing for release :)
328fef0
|
Raw History Blame Contribute Delete
1.22 kB
---
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.