Cleaned up code. Changed model loading code in server.R and made
minor changes in the boilerplate of ui.R. This version of code has
been uploaded to the shinyapps.io website and works perfectly.