Error Message: openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details.
Steps to resolve:
You need to upgrade to a paid plan. Set up a paid account, add a credit or debit card. Add some credit, you can you Pay as you Go method.
After 10-15 minutes generate a new API key and use that in the code