Spaces:
Runtime error
Runtime error
A newer version of the Streamlit SDK is available: 1.61.1
metadata
title: AI Text Classifier 2026
emoji: π€
colorFrom: blue
colorTo: purple
sdk: streamlit
sdk_version: 1.28.1
app_file: app.py
pinned: false
π€ AI Text Classifier 2026
Overview
Professional AI-powered text classification system with Spam Detection and Sentiment Analysis using state-of-the-art Transformer models (BERT & RoBERTa).
Features
- π§ Spam Detection - Identifies spam messages (98.5% accuracy)
- π Sentiment Analysis - Positive/Negative/Neutral classification (96.8% accuracy)
- π History Storage - Automatically stores past classifications
- π Visual Analytics - Interactive confidence gauges and charts
- β‘ Real-time Processing - Instant results with progress indicators
How It Works
- Select classification type (Spam or Sentiment)
- Enter or paste text
- AI model analyzes content
- Get instant result with confidence score
- View history of all past classifications
Models Used
| Task | Model | Accuracy |
|---|---|---|
| Spam Detection | BERT-tiny (SMS fine-tuned) | 98.5% |
| Sentiment Analysis | RoBERTa (Twitter latest) | 96.8% |
Deployment
Hugging Face Spaces (FREE)
- Go to: https://huggingface.co/new-space
- Space Name:
text-classifier-2026 - SDK: Streamlit
- Hardware: CPU Basic
- Upload files:
app.pyrequirements.txtREADME.md
- Click "Create Space"
Local Run
pip install -r requirements.txt
streamlit run app.py