This is a Repository which Contains the implementation of ML model for spam detection
The implementation of the web app can be found https://spamdetect.herokuapp.com/ <-- here !
First fork or clone this repo:
usign git clone https://github.com/Ge0f3/SpamDetection.git
After cloning the repository go inside the project folder:
cd SpamDetection
Build docker using docker build -t spamapp:latest .
After deploy the app using docker run -d -p 5000:5000 spamapp
In your browser navigate to: http://localhost:5000
(or whatever port you have mention in the docker build) to see the app up and running
I highly recommend the use of docker as it is far simpler to get started than to run all of the following manually.
To Deploy manually Assure you have Python. installed.
- Navigate inside the directory
- Install
pip dependencies: pip install -r requirements.txt
- Run python
main.py
to see the app up and running (will watch files and restart server on port 5000 on change)