Spaces:
Running on Zero
Running on Zero
A newer version of the Gradio SDK is available: 6.20.0
metadata
title: Soul Threading v12 Primeo-Fused
emoji: 🧵
colorFrom: purple
colorTo: blue
sdk: gradio
app_file: app.py
pinned: false
license: mit
Soul Threading v12 Primeo-Fused
One-platform Hugging Face / ZeroGPU-ready AOP garment mapper.
This version fuses the best parts of Primeo's pipeline design into the v11 production mapper.
What it does
- Upload artwork.
- Upload AOP template ZIP.
- Scan only white printable areas from template PNGs.
- Build multiple divergent layout candidates.
- Score them through a Quality Tribunal.
- Render clean transparent print PNGs.
- Enforce pocket/flap/overlay continuity.
- Export a production ZIP.
Locked rules
Only white printable template areas become pieces.
Colored seam / bleed / blur / safe lines are restrictions, never pieces.
Front body receives the hero by default.
Back, hood, sleeves, trim, labels receive support crops.
Pocket/flap/overlay inherits rendered front underlay.
No production guide lines appear in exported PNGs.
Files
app.py
requirements.txt
README.md
memory/
docs/
tests/
deploy_to_hf.ps1
ZeroGPU
The pipeline is decorated with @spaces.GPU, which keeps it ready for ZeroGPU model upgrades. The current v12 core remains CPU-safe and deterministic for production export.
Future model slots can be added inside this same Space:
Grounding DINO
SAM/SAM2
Florence OCR
VLM art director