Skip to main content

Code

image_input_file_upload.py

Usage

1

Set up your virtual environment

2

Download the image

Save the image next to the script, at cookbook/90_models/google/gemini/:
3

Set your API key

4

Install dependencies

5

Run Agent

Save the code above as image_input_file_upload.py, then run: