From 2647bfd19b38155ffe6e56648bbbe1aa4e54ee89 Mon Sep 17 00:00:00 2001 From: Katie Nguyen <21978337+katiemn@users.noreply.github.com> Date: Fri, 31 Jan 2025 12:40:37 -0800 Subject: [PATCH] fix: spelling --- .github/actions/spelling/allow.txt | 2 ++ vision/getting-started/imagen3_image_generation.ipynb | 2 +- ...igh_quality_visual_assets_with_gemini_and_imagen.ipynb | 8 ++++---- ...sual_assets_with_gemini_and_imagen_vertex_ai_sdk.ipynb | 8 ++++---- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/actions/spelling/allow.txt b/.github/actions/spelling/allow.txt index 34102a40b63..840bafbdbe0 100644 --- a/.github/actions/spelling/allow.txt +++ b/.github/actions/spelling/allow.txt @@ -766,6 +766,7 @@ imshow imwrite inbox informati +inpaint iostream ipd iphoneos @@ -804,6 +805,7 @@ lakecolor landcolor landuse langgraph +latte lego lenzing levelname diff --git a/vision/getting-started/imagen3_image_generation.ipynb b/vision/getting-started/imagen3_image_generation.ipynb index 569330d78c6..0ed0d0f8db7 100644 --- a/vision/getting-started/imagen3_image_generation.ipynb +++ b/vision/getting-started/imagen3_image_generation.ipynb @@ -370,7 +370,7 @@ "source": [ "### Prompt rewriter\n", "\n", - "The `imagen-3.0-generate-002` model offers the option to enhance your provided prompt. To utilize this feature, set `enhance_prompt` to True. A new, detailed prompt will be created from your original one to help generate higher qualty images." + "The `imagen-3.0-generate-002` model offers the option to enhance your provided prompt. To utilize this feature, set `enhance_prompt` to True. A new, detailed prompt will be created from your original one to help generate higher quality images." ] }, { diff --git a/vision/use-cases/creating_high_quality_visual_assets_with_gemini_and_imagen.ipynb b/vision/use-cases/creating_high_quality_visual_assets_with_gemini_and_imagen.ipynb index d70685c5243..bcb6cfd957a 100644 --- a/vision/use-cases/creating_high_quality_visual_assets_with_gemini_and_imagen.ipynb +++ b/vision/use-cases/creating_high_quality_visual_assets_with_gemini_and_imagen.ipynb @@ -300,7 +300,7 @@ "\n", "You can currently generate up to **4** images at a time with Imagen. Imagen provides several variations based on your prompt.\n", "\n", - "You will do that in the cell below. An axuillary function to display images in grid is also provided." + "You will do that in the cell below. An auxiliary function to display images in grid is also provided." ] }, { @@ -415,7 +415,7 @@ "id": "KQgOkmtrfXR2" }, "source": [ - "To improve the user experience and reproducibility, you will define a generation config and create a function to boostrap content generation with Gemini 2.0 Flash." + "To improve the user experience and reproducibility, you will define a generation config and create a function to bootstrap content generation with Gemini 2.0 Flash." ] }, { @@ -576,7 +576,7 @@ "outputs": [], "source": [ "text_prompt = \"\"\"\n", - " Provide a menu for an Italian restaurant in a JSON fomat.\n", + " Provide a menu for an Italian restaurant in a JSON format.\n", " Each item in the menu should have a name and a description.\n", " The item description should contain the ingredients and how the item was prepared.\n", " Don't include \"of the day\" items such as \"soup of the day\".\n", @@ -613,7 +613,7 @@ "source": [ "### Generating visual asset programmatically\n", "\n", - "Using the jsonized menu, you will be creating a batch of images programatically using Imagen 3. You will use the Gemini 2.0 Flash model to rewrite each description into a detailed image prompt." + "Using the newly formatted menu, you will be creating a batch of images programatically using Imagen 3. You will use the Gemini 2.0 Flash model to rewrite each description into a detailed image prompt." ] }, { diff --git a/vision/use-cases/creating_high_quality_visual_assets_with_gemini_and_imagen_vertex_ai_sdk.ipynb b/vision/use-cases/creating_high_quality_visual_assets_with_gemini_and_imagen_vertex_ai_sdk.ipynb index e9b421cd723..ca3ac9e7dc8 100644 --- a/vision/use-cases/creating_high_quality_visual_assets_with_gemini_and_imagen_vertex_ai_sdk.ipynb +++ b/vision/use-cases/creating_high_quality_visual_assets_with_gemini_and_imagen_vertex_ai_sdk.ipynb @@ -333,7 +333,7 @@ "\n", "You can currently generate up to **4** images at a time with Imagen. Imagen provides several variations based on your prompt.\n", "\n", - "You will do that in the cell below. An axuillary function to display images in grid is also provided." + "You will do that in the cell below. An auxiliary function to display images in grid is also provided." ] }, { @@ -449,7 +449,7 @@ "id": "KQgOkmtrfXR2" }, "source": [ - "To improve the user experience and reproducibility, you will define a generation config and create a function to boostrap content generation with Gemini 1.5 Pro." + "To improve the user experience and reproducibility, you will define a generation config and create a function to bootstrap content generation with Gemini 1.5 Pro." ] }, { @@ -614,7 +614,7 @@ "outputs": [], "source": [ "text_prompt = \"\"\"\n", - " Provide a menu for an Italian restaurant in a JSON fomat.\n", + " Provide a menu for an Italian restaurant in a JSON format.\n", " Each item in the menu should have a name and a description.\n", " The item description should contain the ingredients and how the item was prepared.\n", " Don't include \"of the day\" items such as \"soup of the day\".\n", @@ -651,7 +651,7 @@ "source": [ "### Generating visual asset programmatically\n", "\n", - "Using the jsonized menu, you will be creating a batch of images programatically using Imagen 3. You will use Gemini 1.5 Pro model to rewrite each description into a detailed image prompt." + "Using the newly formatted menu, you will be creating a batch of images programatically using Imagen 3. You will use Gemini 1.5 Pro model to rewrite each description into a detailed image prompt." ] }, {