20 lines
497 B
Bash
Executable File
20 lines
497 B
Bash
Executable File
#!/bin/bash
|
|
#set -e
|
|
|
|
# To run the app with Vertex AI, use this script as is.
|
|
# To run the app with Gemini API key, comment out these.
|
|
PROJECT_ID=$(gcloud config get-value project)
|
|
export PROJECT_ID
|
|
LOCATION=us-central1
|
|
export LOCATION
|
|
|
|
# To run the app with Gemini API key, uncomment this and specify your key
|
|
# (See: https://aistudio.google.com/apikey)
|
|
#export GEMINI_API_KEY=<YOUR GEMINI API KEY>
|
|
|
|
# Quart debug mode (True or False)
|
|
QUART_DEBUG_MODE=True
|
|
export QUART_DEBUG_MODE
|
|
|
|
python3 app.py
|