Spaces:
Running on Zero
Running on Zero
metadata
title: SynLayers
emoji: 🧩
colorFrom: blue
colorTo: purple
sdk: gradio
python_version: '3.10'
app_file: app.py
suggested_hardware: a100-large
startup_duration_timeout: 2h
short_description: GPU Space for SynLayers real-world layer decomposition
models:
- SynLayers/Bbox-caption-8b
pinned: false
SynLayers Demo
This folder now contains a unified real-world inference demo:
demo/inferruns the fixed-prompt VLM caption + bbox detector.infer/infer.pyruns SynLayers decomposition withinfer/infer.yaml.demo/real_world_pipeline.pystitches the two stages together for one uploaded image.demo/app.pyprovides a Gradio interface that can be used locally or adapted for a Hugging Face Space.
Full GPU Space
For a production Hugging Face Space, use GPU hardware and set:
SYNLAYERS_MODEL_REPO=SynLayers/Bbox-caption-8b
This lets the Space:
- load the bbox detector from your uploaded model repo root
- load SynLayers Pipeline
Local Run
From the SynLayers root:
python demo/app.py
Or run the unified CLI directly:
python demo/real_world_pipeline.py \
--image "/path/to/your/image.png"