An open API service indexing awesome lists of open source software.

https://github.com/rezataheri01/deploy-ml-project

Simple ML model + Flask
https://github.com/rezataheri01/deploy-ml-project

classification flask machine-learning

Last synced: 9 months ago
JSON representation

Simple ML model + Flask

Awesome Lists containing this project

README

          

# ๐Ÿ“ง Email Spam Detector

A simple Flask app that detects spam emails using a machine learning model. Includes a custom HTML + Tailwind CSS frontend with a dark/light mode toggle.

## ๐Ÿ”— Resources

- ๐Ÿ“˜ Tutorial: [Deploying a Machine Learning Model](https://jovian.com/biraj/deploying-a-machine-learning-model)
- ๐Ÿง  ML Model Source: [Spam-Email-Detection (GitHub)](https://github.com/KalyanM45/Spam-Email-Detection)

## ๐Ÿš€ Quick Start

```bash
git clone https://github.com/your-username/email-spam-detector.git
cd email-spam-detector
conda create -n spam-env python=3.10
conda activate spam-env
pip install -r requirements.txt
python app.py
```

Then open http://localhost:5000 in your browser.

## ๐Ÿงช Example Emails for Testing
### โœ… Non-Spam (Ham)
```
Hi Sarah,

Just a reminder about our meeting tomorrow at 10 AM.
Let me know if you need to reschedule.

Thanks,
John
```

### ๐Ÿšซ Spam
```
Congratulations! Youโ€™ve won a $1000 gift card.
Click here to claim: http://scam-link.com
```