Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
title: Style Keeper Embeddings API
|
| 2 |
emoji: 👗
|
| 3 |
colorFrom: purple
|
|
@@ -8,4 +9,16 @@ app_port: 7860
|
|
| 8 |
---
|
| 9 |
|
| 10 |
# Style Keeper Embeddings API
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
title: Style Keeper Embeddings API
|
| 3 |
emoji: 👗
|
| 4 |
colorFrom: purple
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
# Style Keeper Embeddings API
|
| 12 |
+
|
| 13 |
+
FastAPI server for sentence embeddings using all-MiniLM-L6-v2.
|
| 14 |
+
|
| 15 |
+
## API
|
| 16 |
+
|
| 17 |
+
**POST /embed**
|
| 18 |
+
```json
|
| 19 |
+
{"inputs": "blue silk wrap dress"}
|
| 20 |
+
```
|
| 21 |
+
Returns a 384-dimensional embedding vector.
|
| 22 |
+
|
| 23 |
+
**GET /health**
|
| 24 |
+
Returns `{"status":"ok","model":"all-MiniLM-L6-v2","dims":384}`
|