Spaces:
Runtime error
Runtime error
| title: AI Text Classifier 2026 | |
| emoji: 🧠 | |
| colorFrom: purple | |
| colorTo: indigo | |
| sdk: streamlit | |
| sdk_version: 1.29.0 | |
| app_file: app.py | |
| pinned: false | |
| # 🧠 AI Text Classifier 2026 | |
| A powerful AI application that performs **real-time spam detection** and **sentiment analysis** using state-of-the-art transformer models (BERT & RoBERTa). | |
| ## Features | |
| - **Spam Detection** - Identifies spam messages with 98.5% accuracy | |
| - **Sentiment Analysis** - Detects Positive/Negative/Neutral emotions with 96.8% accuracy | |
| - Interactive gauges and charts | |
| - Analysis history tracking | |
| ## Usage | |
| 1. Select analysis type (Spam Detection or Sentiment Analysis) | |
| 2. Enter your text | |
| 3. Click "CLASSIFY TEXT" | |
| 4. View results with confidence scores | |
| ## Example | |
| **Spam:** "Congratulations! You won $1000!" → 🚫 SPAM DETECTED | |
| **Positive:** "I love this product!" → 😊 POSITIVE | |
| ## Tech Stack | |
| - Streamlit | |
| - PyTorch | |
| - Transformers (BERT/RoBERTa) | |
| - Plotly | |
| --- | |
| Built with ❤️ using Hugging Face Spaces |