Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,13 +1,25 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk:
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
-
|
| 11 |
---
|
| 12 |
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Text Moderation App
|
| 3 |
+
emoji: "🛡️"
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: green
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
sdk_version: 1.44.1
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
+
short_description: "AI-based zero-shot moderation tool for text content."
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# 🛡️ AI Text Moderation App
|
| 14 |
+
|
| 15 |
+
This app detects potentially sensitive content using a large language model (`facebook/bart-large-mnli`).
|
| 16 |
+
|
| 17 |
+
Upload a `.txt` file or paste text below. The model will flag risks like:
|
| 18 |
+
|
| 19 |
+
- Hate Speech
|
| 20 |
+
- Violence
|
| 21 |
+
- Sexual Content
|
| 22 |
+
- Political Sensitivity
|
| 23 |
+
- Illegal Information
|
| 24 |
+
|
| 25 |
+
Built with **Streamlit**, optimized for CPU on **Hugging Face Spaces**.
|