-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add new example #650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add new example #650
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@@ -0,0 +1,422 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line #9. model_id = "gemini-2.0-flash-exp"
No Need to Define alreay we can use MODEL_ID as a variable
Reply via ReviewNB
@@ -0,0 +1,422 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line #10. model_id = "gemini-2.0-flash-exp"
Same here no need to define this variale
Reply via ReviewNB
@@ -0,0 +1,422 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,422 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SonjeVilas Thanks for this PR There are some small comments :) |
@@ -0,0 +1,422 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line #7. client = genai.Client(api_key='XXX') # Replace 'YOUR_API_KEY' with your actual API Key.
Reply via ReviewNB
@@ -0,0 +1,422 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line #7. client = genai.Client(api_key='AIzaSyAOd_2MrjXOTRq2zEjkCMGBJp7brkWbMKo') # Replace 'YOUR_API_KEY' with your actual API Key.
@SonjeVilas you must never share an API like that. Someone could reuse it and you'd pay for their usage. Quickly deactivate it in AI studio!
Really deactivate it, don't just erase it from the PR it's now in Github history so consider it share with the whole Internet!
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah! already deactivated Thank you 👍
Google Gemini Flash 2.0 - Native Image Output Demonstration.