Writing More Production-Ready Data Science Project (Part 2): Creating a Web App with Streamlit and Deploying to Google Cloud Run with Docker
1. Introduction
In part 1 article, I outlined the refactoring of the previous Yelp review classification project to a proper project structure that should be much easier to maintain and distribute. In this article, I will go through steps to build a simple Streamlit web app to let users input a review text, and obtain the predicted star-rating. We will test the app locally before containerizing it with Docker and deploy it on Google Cloud Run to share with the world.
You can find the project codes below:
2. Building a Simple Front End with Streamlit
Streamlit is an open-source Python library that let users build web applications quickly without any knowledge of common web development frameworks such as JavaScript, HTML or CSS. Hence it has gained popularity recently amongst data scientists who want to share their products quickly…