--- title: AI Text Detector emoji: 🔍 colorFrom: indigo colorTo: purple sdk: gradio sdk_version: 5.22.0 app_file: app.py pinned: false license: apache-2.0 --- # AI Text Detector 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). ## Model Details 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. ## Features - Fast and efficient text analysis - Returns probability scores for both human and AI-generated text - Simple REST API interface - CORS enabled for web applications ## Deployment This space is deployed as a FastAPI application and can be accessed via REST API endpoints. Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference