Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,3 @@
|
|
| 1 |
-
# Create README.md
|
| 2 |
-
@"
|
| 3 |
---
|
| 4 |
title: HateShield Backend
|
| 5 |
emoji: 🛡️
|
|
@@ -20,14 +18,13 @@ Bilingual hate speech detection system using ensemble ML models.
|
|
| 20 |
- Real-time confidence scoring
|
| 21 |
|
| 22 |
## API Endpoints
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
-
-
|
| 26 |
-
-
|
| 27 |
|
| 28 |
## Tech Stack
|
| 29 |
- FastAPI
|
| 30 |
- Transformers (Hugging Face)
|
| 31 |
- scikit-learn
|
| 32 |
-
- PyTorch
|
| 33 |
-
"@ | Out-File -FilePath README.md -Encoding utf8
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: HateShield Backend
|
| 3 |
emoji: 🛡️
|
|
|
|
| 18 |
- Real-time confidence scoring
|
| 19 |
|
| 20 |
## API Endpoints
|
| 21 |
+
- `POST /analyze/text` - Analyze text input
|
| 22 |
+
- `POST /analyze/url` - Analyze URL content
|
| 23 |
+
- `POST /analyze/document` - Analyze uploaded documents
|
| 24 |
+
- `GET /health` - Health check
|
| 25 |
|
| 26 |
## Tech Stack
|
| 27 |
- FastAPI
|
| 28 |
- Transformers (Hugging Face)
|
| 29 |
- scikit-learn
|
| 30 |
+
- PyTorch
|
|
|