A small Django website for identifying spam messages using a lightweight spam classifier.
-
Create a virtual environment:
python -m venv venv .\venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run migrations:
python manage.py migrate
-
Start the development server:
python manage.py runserver
-
Open
http://127.0.0.1:8000/in your browser.
Enter a message and click Analyze to see whether the site predicts it as spam or not.