Skip to content

Commit c6688b7

Browse files
authored
Fix MM snippet in README (#111)
1 parent 07fb91c commit c6688b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ capabilities to generate text from text-and-image input:
1919
```
2020
model = genai.GenerativeModel('gemini-pro-vision')
2121
22-
cookie_picture = [{
22+
cookie_picture = {
2323
'mime_type': 'image/png',
2424
'data': Path('cookie.png').read_bytes()
25-
}]
25+
}
2626
prompt = "Give me a recipe for this:"
2727
2828
response = model.generate_content(

0 commit comments

Comments
 (0)