Web3, social and crypto are revolutionizing the way we interact online, connecting us with the world and allowing us to take control of our digital assets.
Traceback (most recent call last):
File "/Users/zhongyi/ride/Libs/post1.py", line 40, in <module>
tweet = generate_tweet(api_key, prompt, max_tokens)
File "/Users/zhongyi/ride/Libs/post1.py", line 15, in generate_tweet
response = openai.Completion.create(
File "/Users/ZhongYi/anaconda3/lib/python3.10/site-packages/openai/api_resources/completion.py", line 25, in create
return super().create(*args, **kwargs)
File "/Users/ZhongYi/anaconda3/lib/python3.10/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
File "/Users/ZhongYi/anaconda3/lib/python3.10/site-packages/openai/api_requestor.py", line 298, in request
resp, got_stream = self._interpret_response(result, stream)
File "/Users/ZhongYi/anaconda3/lib/python3.10/site-packages/openai/api_requestor.py", line 700, in _interpret_response
self._interpret_response_line(
File "/Users/ZhongYi/anaconda3/lib/python3.10/site-packages/openai/api_requestor.py", line 763, in _interpret_response_line
raise self.handle_error_response(
openai.error.RateLimitError: Rate limit reached for default-text-davinci-003 in organization org-J4RCioaeoYJ7rkNBDRjwcOm5 on requests per min. Limit: 3 / min. Please try again in 20s. Contact us through our help center at help.openai.com if you continue to have issues. Please add a payment method to your account to increase your rate limit. Visit platform.openai.com/account/billing to add a payment method.