Skip to content

Commit 2d19137

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
fix: LVM - Fixed the typo in the VisionModel aspect ratio type annotation
PiperOrigin-RevId: 629650811
1 parent 8ca9cdf commit 2d19137

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

vertexai/vision_models/_vision_models.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def _generate_images(
312312
number_of_images: int = 1,
313313
width: Optional[int] = None,
314314
height: Optional[int] = None,
315-
aspect_ratio: Optional[Literal["1:1", "9:16", "16:9", "4;3", "3:4"]] = None,
315+
aspect_ratio: Optional[Literal["1:1", "9:16", "16:9", "4:3", "3:4"]] = None,
316316
guidance_scale: Optional[float] = None,
317317
seed: Optional[int] = None,
318318
base_image: Optional["Image"] = None,
@@ -555,7 +555,7 @@ def generate_images(
555555
*,
556556
negative_prompt: Optional[str] = None,
557557
number_of_images: int = 1,
558-
aspect_ratio: Optional[Literal["1:1", "9:16", "16:9", "4;3", "3:4"]] = None,
558+
aspect_ratio: Optional[Literal["1:1", "9:16", "16:9", "4:3", "3:4"]] = None,
559559
guidance_scale: Optional[float] = None,
560560
language: Optional[str] = None,
561561
seed: Optional[int] = None,
@@ -581,7 +581,7 @@ def generate_images(
581581
* "9:16" : 9:16 aspect ratio
582582
* "16:9" : 16:9 aspect ratio
583583
* "4:3" : 4:3 aspect ratio
584-
* "3:4" : 3;4 aspect_ratio
584+
* "3:4" : 3:4 aspect_ratio
585585
guidance_scale: Controls the strength of the prompt. Suggested values
586586
are:
587587
* 0-9 (low strength)

0 commit comments

Comments
 (0)