Skip to content

Gaurew/Email-Spam-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Spam Classifier

This project is an Email Spam Classifier built using Flask. The application classifies emails as spam or not spam based on the content.

Features

  • Classifies emails into "Spam" or "Not Spam".
  • Built using Flask for web application deployment.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/email-spam-classifier.git
    cd email-spam-classifier
  2. Create and activate a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
  3. Install the required packages:

    pip install -r requirements.txt

Running the Application

  1. Run the Flask app:

    python app.py
  2. Access the application:

    • Open your web browser and go to http://127.0.0.1:5000/.

Usage

  • 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".

Contributing

Feel free to submit issues or pull requests if you find any bugs or have suggestions for new features.

License

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published