Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Commit

Permalink
doc: code example
Browse files Browse the repository at this point in the history
  • Loading branch information
dsdanielpark authored Mar 9, 2024
1 parent 848519a commit 683d4af
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,7 @@ Returns images in response of Gemini.
```python
from gemini import Gemini, GeminiImage

prompt = "Please recommend a travel itinerary for Seoul."
response = GeminiClient.generate_content(prompt)

response = GeminiClient.generate_content("Please recommend a travel itinerary for Seoul.")
response_images = response.web_images # Check response images [Dict]

GeminiImage.save_sync(response_images, save_path="cached")
Expand Down

0 comments on commit 683d4af

Please sign in to comment.