Skip to content

Commit

Permalink
fix: LVM - Fixed the typo in the VisionModel aspect ratio type annota…
Browse files Browse the repository at this point in the history
…tion

PiperOrigin-RevId: 629650811
  • Loading branch information
vertex-sdk-bot authored and Copybara-Service committed May 1, 2024
1 parent 8ca9cdf commit 2d19137
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vertexai/vision_models/_vision_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def _generate_images(
number_of_images: int = 1,
width: Optional[int] = None,
height: Optional[int] = None,
aspect_ratio: Optional[Literal["1:1", "9:16", "16:9", "4;3", "3:4"]] = None,
aspect_ratio: Optional[Literal["1:1", "9:16", "16:9", "4:3", "3:4"]] = None,
guidance_scale: Optional[float] = None,
seed: Optional[int] = None,
base_image: Optional["Image"] = None,
Expand Down Expand Up @@ -555,7 +555,7 @@ def generate_images(
*,
negative_prompt: Optional[str] = None,
number_of_images: int = 1,
aspect_ratio: Optional[Literal["1:1", "9:16", "16:9", "4;3", "3:4"]] = None,
aspect_ratio: Optional[Literal["1:1", "9:16", "16:9", "4:3", "3:4"]] = None,
guidance_scale: Optional[float] = None,
language: Optional[str] = None,
seed: Optional[int] = None,
Expand All @@ -581,7 +581,7 @@ def generate_images(
* "9:16" : 9:16 aspect ratio
* "16:9" : 16:9 aspect ratio
* "4:3" : 4:3 aspect ratio
* "3:4" : 3;4 aspect_ratio
* "3:4" : 3:4 aspect_ratio
guidance_scale: Controls the strength of the prompt. Suggested values
are:
* 0-9 (low strength)
Expand Down

0 comments on commit 2d19137

Please sign in to comment.