Skip to content

Instantly share code, notes, and snippets.

@rominirani
Last active August 28, 2023 04:51
Show Gist options
  • Select an option

  • Save rominirani/3a0955b236f61f0f8650d6ff50c88c72 to your computer and use it in GitHub Desktop.

Select an option

Save rominirani/3a0955b236f61f0f8650d6ff50c88c72 to your computer and use it in GitHub Desktop.
gcloud functions deploy summarizeText \
--gen2 \
--runtime=python311 \
--region=$GCP_REGION \
--source=. \
--entry-point=summarizeText \
--trigger-http \
--set-env-vars=GCP_PROJECT=$GCP_PROJECT,GCP_REGION=$GCP_REGION \
--allow-unauthenticated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment