An Easy Guide on Machine Learning Model Deployment Using Heroku (Flask)
Heroku offers many ways of deploying your applications to Heroku.In this post, we will use GitHub Integration. You add your project to a GitHub repository. Then you can deploy changes directly to Heroku by linking Heroku to GitHub. We will see the steps in details. So this post focuses in the deployment phase, I suppose that you create your model and set up your web app. Adding Files After creating your model and setting up your web app. Your Folder should be like this : static: for css files template: for html files app.py :the main code of the app CAR_DETAILS.csv: data model.pkl: model saved using pickle model.py: for the model creation and training We need to add some files to the folder : Step1: Add a Procfile file go to your project and add a Procfile file.It should be without extension like "Procfile.txt" , just "Procfile" write inside the file the following code Procfile code Step2: Add a requirements.txt It is a text file that contains the pytho...