Code for the web app built as part of this tutorial I wrote for Cambridge Spark: https://blog.cambridgespark.com/deploying-a-machine-learning-model-to-the-web-725688b851c7
Can be deployed to Heroku. Example running here: https://bike-model.herokuapp.com/