-
Notifications
You must be signed in to change notification settings - Fork 34
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
Prevent API scope error #13
Comments
Thanks you for your first issue in dalle2-in-python |
For the text models (GPT-3) OpenAI released well-documented API and you can get permanent API key for yourself. I assume there will be same situation once they release DALLE-2 to the public. So we all have to wait to get this functionality without manual retreiving of access tokens |
I still have this issue with a permanent access token :
|
@ezawadzki you have to use your temporary bearer key like explained in the readme |
Oh ! thanks @ezzcodeezzlife , I read your documentation too quickly. Hope we can use one day permanent tokens. |
currently looking into this 🚀 |
Hey there 👋 Nice project! I just ran into a
missing_scope
error and after some research, I read that OpenAI automatically changes API keys when they detect access from external domains.Same has been reported on the Node project.
ezzcodeezzlife/dalle-node#13
However, changing the token manually is of course a solution but i was wondering if there's a way to automate it. In a production app, we would need a way to retrieve and renew it programmatically. Any ideas?
The text was updated successfully, but these errors were encountered: