Update README.md
Browse files
README.md
CHANGED
|
@@ -1,43 +1,43 @@
|
|
| 1 |
-
---
|
| 2 |
-
title:
|
| 3 |
-
emoji: βοΈ
|
| 4 |
-
colorFrom: red
|
| 5 |
-
colorTo: pink
|
| 6 |
-
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
-
app_file: app.py
|
| 9 |
-
pinned: true
|
| 10 |
-
---
|
| 11 |
-
|
| 12 |
-
# βοΈ Spam Message Classifier
|
| 13 |
-
|
| 14 |
-
Detect spam messages with 90%+ accuracy using machine learning. Built with Logistic Regression, TF-IDF, and deployed via Gradio.
|
| 15 |
-
|
| 16 |
-
## π How It Works
|
| 17 |
-
1. Paste any SMS/email message
|
| 18 |
-
2. Get instant classification (Spam/Ham)
|
| 19 |
-
3. See confidence score and detected keywords
|
| 20 |
-
4. Try example messages below the input box
|
| 21 |
-
|
| 22 |
-
## π Features
|
| 23 |
-
- Keyword detection (free, win, urgent, etc.)
|
| 24 |
-
- Confidence percentage
|
| 25 |
-
- Mobile-friendly interface
|
| 26 |
-
- Fast predictions (<1sec)
|
| 27 |
-
|
| 28 |
-
## π οΈ Technical Stack
|
| 29 |
-
- Python 3.10
|
| 30 |
-
- Scikit-learn
|
| 31 |
-
- NLTK for text processing
|
| 32 |
-
- Gradio for UI
|
| 33 |
-
- Hugging Face Spaces for deployment
|
| 34 |
-
|
| 35 |
-
## π Live Demo
|
| 36 |
-
π [Try the live app](https://huggingface.co/spaces/Ahmedhassan54/Spam-Ham-Classification)
|
| 37 |
-
|
| 38 |
-
## π¦ Local Setup
|
| 39 |
-
```bash
|
| 40 |
-
git clone https://huggingface.co/spaces/your-username/spam-classifier
|
| 41 |
-
cd spam-classifier
|
| 42 |
-
pip install -r requirements.txt
|
| 43 |
python app.py
|
|
|
|
| 1 |
+
---
|
| 2 |
+
title: π§ Spam Message Classifier
|
| 3 |
+
emoji: βοΈ
|
| 4 |
+
colorFrom: red
|
| 5 |
+
colorTo: pink
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 5.34.2
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
+
# βοΈ Spam Message Classifier
|
| 13 |
+
|
| 14 |
+
Detect spam messages with 90%+ accuracy using machine learning. Built with Logistic Regression, TF-IDF, and deployed via Gradio.
|
| 15 |
+
|
| 16 |
+
## π How It Works
|
| 17 |
+
1. Paste any SMS/email message
|
| 18 |
+
2. Get instant classification (Spam/Ham)
|
| 19 |
+
3. See confidence score and detected keywords
|
| 20 |
+
4. Try example messages below the input box
|
| 21 |
+
|
| 22 |
+
## π Features
|
| 23 |
+
- Keyword detection (free, win, urgent, etc.)
|
| 24 |
+
- Confidence percentage
|
| 25 |
+
- Mobile-friendly interface
|
| 26 |
+
- Fast predictions (<1sec)
|
| 27 |
+
|
| 28 |
+
## π οΈ Technical Stack
|
| 29 |
+
- Python 3.10
|
| 30 |
+
- Scikit-learn
|
| 31 |
+
- NLTK for text processing
|
| 32 |
+
- Gradio for UI
|
| 33 |
+
- Hugging Face Spaces for deployment
|
| 34 |
+
|
| 35 |
+
## π Live Demo
|
| 36 |
+
π [Try the live app](https://huggingface.co/spaces/Ahmedhassan54/Spam-Ham-Classification)
|
| 37 |
+
|
| 38 |
+
## π¦ Local Setup
|
| 39 |
+
```bash
|
| 40 |
+
git clone https://huggingface.co/spaces/your-username/spam-classifier
|
| 41 |
+
cd spam-classifier
|
| 42 |
+
pip install -r requirements.txt
|
| 43 |
python app.py
|