Spaces:
Running
Running
| title: Reflections SigLIP Encoder | |
| emoji: π | |
| colorFrom: indigo | |
| colorTo: blue | |
| sdk: docker | |
| app_port: 7860 | |
| pinned: false | |
| # Reflections SigLIP text-query encoder | |
| Embeds a natural-language query into a 768-d L2-normalized vector using the | |
| SigLIP2 text tower (`onnx-community/siglip2-base-patch16-256-ONNX`), in the same | |
| cosine space as the photo image embeddings. | |
| - `POST /encode` β `{ "query": "..." }` β `{ "vector": [768 floats] }`. Requires | |
| `Authorization: Bearer $SIGLIP_ENCODER_TOKEN`. | |
| - `GET /health` β liveness for the keep-warm cron. | |
| Set the Space secret `SIGLIP_ENCODER_TOKEN`. The model is baked into the image. | |