Skip to content

Commit

Permalink
Update vision.ipynb by fixing the typo in code (#550)
Browse files Browse the repository at this point in the history
Fixed the typo mistake at code `Markdown(esponse.text)` in the  'Transcribe video and provide visual descriptions' section in 'vision' doc which gives `NameError: name 'esponse' is not defined` while code exceution.

Fixed the typo by adding 'r' in code `Markdown(response.text)`.
  • Loading branch information
RenuPatelGoogle authored Jan 21, 2025
1 parent e8dc8c5 commit 202c0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/en/gemini-api/docs/vision.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@
"print(\"Making LLM inference request...\")\n",
"response = model.generate_content([video_file, prompt],\n",
" request_options={\"timeout\": 600})\n",
"Markdown(esponse.text)"
"Markdown(response.text)"
]
},
{
Expand Down

0 comments on commit 202c0d6

Please sign in to comment.