This project is a Machine Learning based Spam Detection system exposed through a FastAPI backend.
It predicts whether a given text message is Spam or Not Spam using a trained ML model.
The project demonstrates how to integrate ML models with FastAPI, handle request/response schemas, and structure a production-ready backend.
- Spam vs Not-Spam text classification
- Trained Machine Learning model
- FastAPI based REST API
- Input & output validation using Pydantic
- Clean and modular project structure
- Ready for deployment
- Python
- Machine Learning (Scikit-learn)
- FastAPI
- Pydantic
- Pickle
- Streamlit (optional UI)
git clone https://github.com/Rushi1696/Spam-Detection-With-Fast-API.git
cd Spam-Detection-With-Fast-API