Skip to content

Commit 34a5893

Browse files
authored
feat: model update (#13124)
1 parent 8570053 commit 34a5893

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generative_ai/image_generation/generate_image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def generate_image(
3737

3838
vertexai.init(project=PROJECT_ID, location="us-central1")
3939

40-
model = ImageGenerationModel.from_pretrained("imagen-3.0-generate-001")
40+
model = ImageGenerationModel.from_pretrained("imagen-3.0-generate-002")
4141

4242
images = model.generate_images(
4343
prompt=prompt,

0 commit comments

Comments
 (0)