diff --git a/docs/docs/integrations/tools/google_imagen.ipynb b/docs/docs/integrations/tools/google_imagen.ipynb index 443624dd697..0f4d7002c4d 100644 --- a/docs/docs/integrations/tools/google_imagen.ipynb +++ b/docs/docs/integrations/tools/google_imagen.ipynb @@ -25,7 +25,7 @@ "- [VertexAIImageEditorChat](#image-editing) : Edit an entire uploaded or generated image with a text prompt.\n", "- [VertexAIImageCaptioning](#image-captioning) : Get text descriptions of images with visual captioning.\n", "- [VertexAIVisualQnAChat](#visual-question-answering-vqa) : Get answers to a question about an image with Visual Question Answering (VQA).\n", - " * NOTE : Currently we support only only single-turn chat for Visual QnA (VQA)" + " * NOTE : Currently we support only single-turn chat for Visual QnA (VQA)" ] }, { @@ -48,11 +48,11 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ - "# Create Image Gentation model Object\n", + "# Create Image Generation model Object\n", "generator = VertexAIImageGeneratorChat()" ] }, @@ -140,11 +140,11 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ - "# Create Image Gentation model Object\n", + "# Create Image Generation model Object\n", "generator = VertexAIImageGeneratorChat()\n", "\n", "# Provide a text input for image\n", @@ -244,7 +244,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "metadata": {}, "outputs": [ { @@ -268,10 +268,10 @@ } ], "source": [ - "# use image egenarted in Image Generation Section\n", + "# use image generated in Image Generation Section\n", "img_base64 = generated_image[\"image_url\"][\"url\"]\n", "response = model.invoke(img_base64)\n", - "print(f\"Generated Cpation : {response}\")\n", + "print(f\"Generated Caption : {response}\")\n", "\n", "# Convert base64 string to Image\n", "img = Image.open(\n",