Skip to content

Commit

Permalink
update response formatting for video examples
Browse files Browse the repository at this point in the history
  • Loading branch information
vishal-dharm committed Nov 30, 2024
1 parent c1878df commit 3016340
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/en/gemini-api/docs/vision.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@
" request_options={\"timeout\": 600})\n",
"\n",
"# Print the response, rendering any Markdown\n",
"Markdown(\">\" + response.text)"
"Markdown(response.text)"
]
},
{
Expand Down Expand Up @@ -726,7 +726,7 @@
"print(\"Making LLM inference request...\")\n",
"response = model.generate_content([prompt, video_file],\n",
" request_options={\"timeout\": 600})\n",
"Markdown(\">\" + response.text)"
"Markdown(response.text)"
]
},
{
Expand Down Expand Up @@ -762,7 +762,7 @@
"print(\"Making LLM inference request...\")\n",
"response = model.generate_content([video_file, prompt],\n",
" request_options={\"timeout\": 600})\n",
"Markdown(\">\" + response.text)"
"Markdown(esponse.text)"
]
},
{
Expand Down

0 comments on commit 3016340

Please sign in to comment.