This project is an Email Spam Classifier built using Flask. The application classifies emails as spam or not spam based on the content.
- Classifies emails into "Spam" or "Not Spam".
- Built using Flask for web application deployment.
-
Clone the repository:
git clone https://github.com/yourusername/email-spam-classifier.git cd email-spam-classifier -
Create and activate a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install the required packages:
pip install -r requirements.txt
-
Run the Flask app:
python app.py
-
Access the application:
- Open your web browser and go to
http://127.0.0.1:5000/.
- Open your web browser and go to
- Upload or paste the content of the email you want to classify.
- Click the "Classify" button to see whether the email is classified as "Spam" or "Not Spam".
Feel free to submit issues or pull requests if you find any bugs or have suggestions for new features.
This project is licensed under the MIT License.
Replace the placeholder link with the actual URL of your repository. You can also add more details or sections depending on the complexity and features of your project.