Skip to content

Commit

Permalink
precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitDherin committed Feb 7, 2024
1 parent 5a6201c commit 00375f3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions notebooks/vertex_genai/labs/gemini_for_multimodal_prompting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
},
"outputs": [],
"source": [
"model = None # TODO"
"model = None # TODO"
]
},
{
Expand Down Expand Up @@ -226,9 +226,9 @@
},
"outputs": [],
"source": [
"generation_config = None # TODO\n",
"generation_config = None # TODO\n",
"\n",
"responses = model.generate_content(None) # TODO\n",
"responses = model.generate_content(None) # TODO\n",
"\n",
"for response in responses:\n",
" print(response.text, end=\"\")"
Expand Down Expand Up @@ -342,7 +342,7 @@
},
"outputs": [],
"source": [
"multimodal_model = None # TODO"
"multimodal_model = None # TODO"
]
},
{
Expand Down Expand Up @@ -451,13 +451,13 @@
"! gsutil cp \"gs://cloud-samples-data/generative-ai/image/320px-Felis_catus-cat_on_snow.jpg\" ./image.jpg\n",
"\n",
"# Load from local file\n",
"image = None # TODO\n",
"image = None # TODO\n",
"\n",
"# Prepare contents\n",
"prompt = None # TODO\n",
"contents = None # TODO\n",
"prompt = None # TODO\n",
"contents = None # TODO\n",
"\n",
"responses = None # TODO\n",
"responses = None # TODO\n",
"\n",
"print(\"-------Prompt--------\")\n",
"print_multimodal_prompt(contents)\n",
Expand Down Expand Up @@ -590,8 +590,8 @@
"image3 = load_image_from_url(image3_url)\n",
"\n",
"# Prepare prompts\n",
"prompt1 = None # TODO\n",
"prompt2 = None # TODO\n",
"prompt1 = None # TODO\n",
"prompt2 = None # TODO\n",
"\n",
"# Prepare contents\n",
"contents = [image1, prompt1, image2, prompt2, image3]\n",
Expand Down

0 comments on commit 00375f3

Please sign in to comment.