Spaces:
Sleeping
Sleeping
metadata
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 "Spam Email" using a pre-trained Hugging Face Transformers model.
Usage
- Enter the email body you want to classify in the text input box.
- Click the "Submit" button.
- The application will display "Safe Email" or "Spam 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