Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -1,27 +1,31 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
-
|
4 |
|
5 |
-
|
6 |
|
7 |
-
|
8 |
-
- POST `/predict`: Predict if text is AI-generated or human-written
|
9 |
|
10 |
-
|
11 |
|
12 |
-
|
13 |
-
```json
|
14 |
-
{
|
15 |
-
"text": "Your text to analyze"
|
16 |
-
}
|
17 |
-
```
|
18 |
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
|
|
|
1 |
+
---
|
2 |
+
title: AI Text Detector
|
3 |
+
emoji: 🔍
|
4 |
+
colorFrom: indigo
|
5 |
+
colorTo: purple
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: 5.2.2
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
---
|
11 |
|
12 |
+
# AI Text Detector
|
13 |
|
14 |
+
This space hosts an API for detecting AI-generated text using the RoBERTa-based model [fakespot-ai/roberta-base-ai-text-detection-v1](https://huggingface.co/fakespot-ai/roberta-base-ai-text-detection-v1).
|
15 |
|
16 |
+
## Model Details
|
|
|
17 |
|
18 |
+
The model is trained to distinguish between human-written and AI-generated text. It provides probability scores for both classes and makes predictions based on which score is higher.
|
19 |
|
20 |
+
## Features
|
|
|
|
|
|
|
|
|
|
|
21 |
|
22 |
+
- Fast and efficient text analysis
|
23 |
+
- Returns probability scores for both human and AI-generated text
|
24 |
+
- Simple REST API interface
|
25 |
+
- CORS enabled for web applications
|
26 |
+
|
27 |
+
## Deployment
|
28 |
+
|
29 |
+
This space is deployed as a FastAPI application and can be accessed via REST API endpoints.
|
30 |
+
|
31 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|