This repo is the UI of the workshop that @sohailazangeneh and @ckim328 are running in October 2022.
NOTE
This repository assumes that you have already trained and deployed a Vertex AI AutoML Image Classification model by following the instructions in this Qwiklab (add the link).
-
Create and activate a virtual environment.
This step is not required but it's recommended.
Create a python virtual environment calledpycon-venv
using the following command:python3 -m venv pycon-venv
Activate your virtual environment
source pycon-venv/bin/activate
-
Install the requirements.
Run the following command to install the requirements:pip install -r requirements.txt
-
Copy the
endpoint id
of the Vertex AI endpoint that the model is deployed on and paste it in theapp/.env
file:ENDPOINT_ID = ""
For example, if the endpoint id is
1111222233334444555
, your.env
file should look like:ENDPOINT_ID = "1111222233334444555"
-
Run the app using streamlit command:
streamlit run app/main.py