Skip to content

Commit 880d705

Browse files
committed
feat(genai): migrate Vertex AI env var to Enterprise in multimodal tests
1 parent 63efc78 commit 880d705

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

genai/bounding_box/test_bounding_box_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
import boundingbox_with_txt_img
2222

23-
os.environ["GOOGLE_GENAI_USE_VERTEXAI"] = "True"
23+
os.environ["GOOGLE_GENAI_USE_ENTERPRISE"] = "True"
2424
os.environ["GOOGLE_CLOUD_LOCATION"] = "global" # "us-central1"
2525
# The project name is included in the CICD pipeline
2626
# os.environ['GOOGLE_CLOUD_PROJECT'] = "add-your-project-name"

genai/embeddings/test_embeddings_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
import embeddings_docretrieval_with_txt
2222

23-
os.environ["GOOGLE_GENAI_USE_VERTEXAI"] = "True"
23+
os.environ["GOOGLE_GENAI_USE_ENTERPRISE"] = "True"
2424
os.environ["GOOGLE_CLOUD_LOCATION"] = "us-central1"
2525
# The project name is included in the CICD pipeline
2626
# os.environ['GOOGLE_CLOUD_PROJECT'] = "add-your-project-name"

genai/image_generation/test_image_generation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
import imggen_virtual_try_on_with_txt_img
4242
import imggen_with_txt
4343

44-
os.environ["GOOGLE_GENAI_USE_VERTEXAI"] = "True"
44+
os.environ["GOOGLE_GENAI_USE_ENTERPRISE"] = "True"
4545
os.environ["GOOGLE_CLOUD_LOCATION"] = "us-central1"
4646
# The project name is included in the CICD pipeline
4747
# os.environ['GOOGLE_CLOUD_PROJECT'] = "add-your-project-name"

genai/image_generation/test_image_generation_mmflash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import imggen_mmflash_with_txt
2626

2727

28-
os.environ["GOOGLE_GENAI_USE_VERTEXAI"] = "True"
28+
os.environ["GOOGLE_GENAI_USE_ENTERPRISE"] = "True"
2929
os.environ["GOOGLE_CLOUD_LOCATION"] = "global"
3030
# The project name is included in the CICD pipeline
3131
# os.environ['GOOGLE_CLOUD_PROJECT'] = "add-your-project-name"

genai/video_generation/test_video_generation_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
import videogen_with_vid_edit_remove
4242

4343

44-
os.environ["GOOGLE_GENAI_USE_VERTEXAI"] = "True"
44+
os.environ["GOOGLE_GENAI_USE_ENTERPRISE"] = "True"
4545
os.environ["GOOGLE_CLOUD_LOCATION"] = "us-central1"
4646
# The project name is included in the CICD pipeline
4747
# os.environ['GOOGLE_CLOUD_PROJECT'] = "add-your-project-name"

0 commit comments

Comments
 (0)