Spaces:
Sleeping
Sleeping
mothy-08 commited on
Commit ·
b08828c
1
Parent(s): e62960c
updated readme
Browse files
README.md
CHANGED
|
@@ -1,2 +1,22 @@
|
|
| 1 |
-
|
| 2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: Content Moderator API
|
| 3 |
+
emoji: 🛡️
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: gray
|
| 6 |
+
sdk: docker
|
| 7 |
+
app_port: 7860
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# Content Moderator API
|
| 11 |
+
|
| 12 |
+
A minimalist, high-performance microservice for text moderation using DistilRoBERTa.
|
| 13 |
+
|
| 14 |
+
## API Usage
|
| 15 |
+
|
| 16 |
+
**Endpoint:** `POST /predict`
|
| 17 |
+
|
| 18 |
+
**Request:**
|
| 19 |
+
```json
|
| 20 |
+
{
|
| 21 |
+
"text": "Your text here"
|
| 22 |
+
}
|