File size: 991 Bytes
c09ddaa
 
 
 
 
 
4ed439c
c09ddaa
 
 
 
fe84201
 
c09ddaa
 
 
fe84201
c09ddaa
 
 
 
fe84201
c09ddaa
fe84201
c09ddaa
 
 
 
fe84201
c09ddaa
fe84201
c09ddaa
fe84201
c09ddaa
fe84201
c09ddaa
fe84201
c09ddaa
 
 
 
fe84201
c09ddaa
fe84201
c09ddaa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
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