Create a new environment
conda create -p venv python==3.10 -y
- Run app.py using below command to start Flask API
python app.py
By default, flask will run on port 5000.
- Navigate to URL http://127.0.0.1:5000
You should be able to view the homepage.
Enter valid numerical values in all input boxes and hit Predict.
If everything goes well, you should be able to see the predcited boston house price vaule on the HTML page! check the output here: http://127.0.0.1:5000/predict
This is the Flask quick start example for Render.
The app in this repo is deployed at https://boston-house-price-prediction-oyaq.onrender.com.
Follow the guide at https://render.com/docs/deploy-flask.