- Python
- Tensorflow
- Mediapipe
- FastAPI
- Clone this repository
git clone https://github.com/Signa-Lingua/sing-predict-api.git
- Change directory
cd singa-predict-api
-
You have a Google Cloud Platform account, Google Project, and have installed the Google Cloud SDK on your local machine.
-
Setup ADC (Application Default Credentials) on your local machine.
gcloud auth application-default login
-
You have created a Google Cloud Storage Bucket to store the logs.
-
You have created a service account to use for the Cloud Run and Cloud Build. It should have the following permission
Click to expand
- Cloud Run Admin
- Secret Manager Secret Accessor
- Service Account User
- Cloud Build Service Account
-
You have created a Cloud Storage bucket to store the logs.
Do it manually from gcloud CLI
gcloud builds submit --substitutions _VPC_CONNECTOR=<your-vpc-connector>,_MODEL_NAME=<your-model-name>,_SERVICE_ACCOUNT=<your-service-account>,_LOGBUCKET_NAME=<your-log-bucket-name>