Views
No views yet
1git clone https://github.com/yourusername/email-classification.git
2cd email-classification1pip install -r requirements.txt
2python -m spacy download en_core_web_mdpython app.pyhttp://localhost:8000/classify1{
2 "email_body": "Hello, my name is John Doe, and my email is johndoe@example.com."
3}1{
2 "masked_email": "Hello, my name is [name], and my email is [email_address].",
3 "category": "General Inquiry"
4}http://localhost:8000/docsapp.py # Main application
api.py # API endpoints and routes
models.py # Email classification logic
utils.py # PII masking and utilities
requirements.txt # Python dependencies
README.md # Project instructions1pip install gunicorn
2gunicorn -w 4 -k uvicorn.workers.UvicornWorker app:app