This repository was archived by the owner on Jun 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,9 @@ if __name__ == "__main__":
186186 user_prompt = input("Enter your prompt: ")
187187 asyncio.run(fetch_and_save_images_async(user_prompt))
188188```
189+
189190` GeminiImage.save ` method logic
191+
190192```
191193import asyncio
192194from gemini import Gemini, GeminiImage
@@ -255,7 +257,9 @@ if __name__ == "__main__":
255257 user_prompt = input("Enter your prompt: ")
256258 asyncio.run(fetch_and_save_images_async(user_prompt))
257259```
260+
258261` GeminiImage.save ` method logic
262+
259263```
260264import asyncio
261265from gemini import Gemini, GeminiImage
@@ -273,6 +277,8 @@ if __name__ == "__main__":
273277 asyncio.run(fetch_and_save_images_async(user_prompt))
274278```
275279
280+ </details >
281+
276282<br >
277283
278284## Further
@@ -354,10 +360,10 @@ Contributors to the [Bard API](https://github.com/dsdanielpark/Bard-API/) and [G
354360 - [x] ` messages `
355361 - [x] ` content `
356362 - [x] ` text `
357- - [ ] ` parsing `
358- - [ ] ` image `
359- - [ ] ` parsing `
360- - [ ] ` response format structure class `
363+ - [x ] ` parsing `
364+ - [x ] ` image `
365+ - [x ] ` parsing `
366+ - [x ] ` response format structure class `
361367 - [ ] ` tool_calls `
362368 - [ ] ` third party `
363369 - [ ] ` replit `
You can’t perform that action at this time.
0 commit comments