Spaces:
Sleeping
Sleeping
metadata
title: SAM3 LS Backend
emoji: π―
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
pinned: false
SAM3 Label Studio ML Backend
Phase 1: hardcoded predictions for round-trip testing with Label Studio.
Endpoints:
GET /healthβ livenessPOST /setupβ LS project setup (no-op stub)POST /predictβ returns one fixed bounding box per taskPOST /webhookβ annotation events (logged, no-op)
Configure in Label Studio: Settings β Machine Learning β Add Model β URL = https://<username>-sam3-ls-backend.hf.space.
Expects an LS label config with:
<Image name="image" value="$image"/><RectangleLabels name="label" toName="image">containing a<Label value="butterfly"/>(or overrideDEFAULT_LABELenv var).