Azure web app not able to access 'gemini-pro-vision' of google-generativeai

Himangshu Biswas 0 Reputation points
2024-02-15T12:25:47.19+00:00

I have a flask app deployed in azure app service. The app is able to work with google's 'gemini-pro-vision' model in local machine in pycharm(os-windows). But, after deployment it is not able to. Same code running smoothly in local machine but not in azure web app. I am using python 3.9. with google.generativeai. Thank you.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,500 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.