Pant0x's picture
Update README.md
04cb993 verified

A newer version of the Gradio SDK is available: 6.2.0

Upgrade
metadata
title: Email Spam Classifier
emoji: 📧
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 6.1.0
app_file: app.py
pinned: false

Email Spam Classifier

This is a Hugging Face Gradio app that classifies emails as Spam or Ham using a PyTorch model.

Usage

  1. Paste an email into the textbox.
  2. The app will output probabilities for "Ham" and "Spam".

Model and Vectorizer

  • model/email_spam_classifier.pth - trained PyTorch model
  • model/vectorizer.pkl - TF-IDF vectorizer

Check out the configuration reference at HF Spaces Config Reference