-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
The Gemini 1.0 Pro Vision model will be deprecated from Google AI services #31
Comments
是呀,今天用不了了,快快更新呀 |
Got the same error:
Can you please update it with gemini-1.5-flash? |
You can use this instead: https://github.com/ShmuelRonen/ComfyUI_Gemini_Flash |
It's working, thank you! |
can you add: gemini-1.5-flash
Deprecation of Gemini 1.0 Pro Vision from Google AI for Developers
The Gemini 1.0 Pro Vision model will be deprecated from Google AI services and tools as of June 12, 2024. Usage of the model in Vertex AI is not affected by this notice.
What this means for you
You’ll be able to use Gemini 1.0 Pro Vision until July 12, 2024.
After July 12, saved prompts using Gemini 1.0 Pro Vision in Google AI Studio will switch to using Gemini 1.5 Flash. API calls that specify Gemini 1.0 Pro Vision will fail.
To avoid interruptions, we encourage switching to Gemini 1.5 Flash, our next-generation model that is faster and more cost-efficient with advanced vision understanding. Update your code to call 1.5 Flash:
Old model = genai.GenerativeModel(name='gemini-pro-vision')
New model = genai.GenerativeModel(name='gemini-1.5-flash’)
Please note this change does not affect the Gemini 1.0 Pro NLP model.
Thanks,
The Google AI Studio team
The text was updated successfully, but these errors were encountered: