File size: 637 Bytes
cea73ff
 
 
 
 
 
04cb993
cea73ff
 
 
 
3417ad0
 
 
 
 
 
 
 
 
 
 
 
04cb993
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
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](https://huggingface.co/docs/hub/spaces-config-reference)