Why am I getting an error in my app?
google.api_core.exceptions.PermissionDenied: 403 You do not have permission to access tuned model tunedModels/finalemotions-xxxxin9vxxxu2lxxxvuf0.
but I have API from AI Studio to access my tuning model to my app.
1 Like
Hi @Falah_Gatea thanks for the question!
Model tuning uses OAuth and not API keys for authentication. Take a look at this quickstart for more details + examples: cookbook/quickstarts/Tuning.ipynb at main · google-gemini/cookbook · GitHub
1 Like