Heroku was utilized to deploy the web app.
This output file, model.pkl
is the input to the Heroku app.
If you don't have a Heroku account, create one here: www.heroku.com. For deploying this project, I have used following steps.
- Upload your code to any github repository and make sure that it is running on local server.
- Make sure you have same hierarchy of folders and files as given in this repository.
- Create a heroku app and name it according to your choice.
- Go to the deployment method and then use github method for deployment.
- It will deploy your model within a couple of minutes.
- See the View logs option for more details and working of your deployed model.
Note: After 15 minutes of inactivity, Heroku will suspend the app. The next time the web app is called, Heroku will restart the app. There could be a slight delay in starting the app.