Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.46 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.46 KB

This is a guide on how to contribute to VietAI Translate web app demo.

  1. Install docker and python package virtualenv.

  2. Clone this Github repository

git clone https://github.com/vietai/sat.git
cd sat/translation_web_app
  1. Create and active a virtual environment
pip install virtualenv
virtualenv <ENV-NAME>
source <ENV-NAME>/bin/activate
  1. Intall requirement dependencies
pip install -r requirement.txt
  1. Use Streamlit to start the local web app.
streamlit run app.py

At this point, you are already running a local version of our Web App. However, there will be no access to our Machine Learning model and Firebase database hosted on Google Cloud Platform:

Regardless, you can still make cosmetic changes to the front-end component of the web app and submit pull requests, all API calls will return a placeholder output as shown above.

To interact with the Machine Learning model and Firebase database hosted on GCP, one would need to generate their access key to VietAI's resources. Feel free to contact [email protected] if there is a need for this.


For a general tutorial on how to build your own web application with Machine Learning models hosted on Google Cloud Platform, please refer to mrdbourke/cs329s-ml-deployment-tutorial.