- Create a conda virtual environment (optional but recommended) using command
conda create -n applause_prediction python=3.6
- Activate the created environment (optional, must if step 1 is executed)
conda activate applause_prediction
- Install all the dependencies
pip install -r requirements.txt
- Train the model
python train_applause_predictor.py
- You can predict using
python predict.py
or run it using the web interface by using the flask app described below
- Make sure the model is saved in the model directory
- Run app.py using python3