Spaces:
Running on Zero
Running on Zero
File size: 1,824 Bytes
e8aa2ba 019a613 28dbedc b386b78 e8aa2ba 28dbedc e8aa2ba 28dbedc efa9c6f e8aa2ba 019a613 28dbedc 019a613 28dbedc 019a613 28dbedc 019a613 28dbedc efa9c6f 28dbedc 019a613 28dbedc 019a613 28dbedc 019a613 28dbedc 019a613 28dbedc efa9c6f 28dbedc 019a613 | 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 38 39 40 41 42 43 44 | ---
title: GroundingPI Perception Studio
emoji: 🎯
colorFrom: purple
colorTo: green
sdk: gradio
sdk_version: 5.49.1
python_version: 3.12.12
app_file: space_app.py
pinned: false
models:
- GroundingPI/GroundingPI
---
# GroundingPI · Perception Studio
The original English demo, with its purple and lime palette, fonts, layout, nine task routes and 22 image examples. Supports image upload, canvas zoom, target focus, original-pixel detail, downloads and structured outputs. Video remains disabled.
The model is `GroundingPI/GroundingPI`, pinned at revision `127b0e1c54c68f24bf769a80067521b815b695dd`. Native processors, chat templates and GAM coordinates are preserved. Chinese OCR labels use the bundled Noto Sans CJK font.
## Local preview
```bash
python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.txt
GROUNDING_BACKEND=http DEMO_PORT=7862 .venv/bin/python space_app.py
```
The preview uses `http://127.0.0.1:8000/v1` by default. Without a model service, it reports inference offline and allows browsing examples. It does not substitute stored predictions.
## ZeroGPU
Deploy this directory to the existing `FanLR/GroundingPI-4B` Gradio Space. The Space and GPU backend belong to FanLR; model weights come from the public GroundingPI account repository. `space_app.py` replaces the old Space model variables with this pinned release. Do not configure both a local model path and a remote model repository.
## Verification
```bash
.venv/bin/python -m unittest discover -s tests -v
.venv/bin/python scripts/verify_ui.py
.venv/bin/python scripts/build_bundle.py /absolute/path/studio.zip
```
Local tests and CPU package validation are recorded separately from live GPU inference. Images, fonts and model weights retain their source licenses; see `assets/SOURCES.md` and the model repository.
|