Hosted on [Heroku]
This is a simple Flask app that will predict the house price using sci-kit Learn.
- git clone https://github.com/tadinve/HousePrice
- cd HousePrice
- virtualenv --python=python3 venv
- source venv/bin/activate
- pip install -r requirements.txt
- python controller.py # it will load the model and start a web-server.
- Visit http://127.0.0.1:5000/ with your browser and test
- Explore the "controller.py" file. Can you figure out what it does?
- Explore the rest of the code. Can you figure out what the other files do?
- sudo apt install snapd
- curl https://cli-assets.heroku.com/install.sh | sh
- heroku create
- git add .
- git commit -m "initial commit"
- git push heroku master
- #test on your local browser.