Spaces:
Sleeping
Sleeping
File size: 1,044 Bytes
33852dd f0c5d28 2fa85a4 f0c5d28 2fa85a4 f0c5d28 33852dd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
---
title: Email Classifier
emoji: 🏢
colorFrom: pink
colorTo: indigo
sdk: gradio
sdk_version: 5.23.1
app_file: app.py
pinned: false
short_description: Classify Span Or not Spam
---
# Gradio Spam Email Classifier
This Gradio application classifies email bodies as either "Safe Email" or "Phishing Email" using a pre-trained Hugging Face Transformers model.
## Usage
1. **Enter the email body** you want to classify in the text input box.
2. **Click the "Submit" button.**
3. **The application will display "Safe Email" or "Phishing Email"** based on the model's prediction.
## Model
The application uses a pre-trained Hugging Face Transformers model for text classification. The model files (`config.json`, `pytorch_model.bin`,'special_tokens_map.json', 'tokenizer_config.json', 'vocab.txt') should be located in the `./model` directory. The tokenizer files are also required, and will be downloaded if they are not already present.
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|