pythontester192 / AI-Video-Generator-Using-OpenAI-Python

Python Bot That Generates Text About a Specific Topic you Want, & Generate Video Using OpenAI Model, GTTS, & MoviePy.
192 stars 66 forks source link

You exceeded your current quota, please check your plan and billing details Issue #7

Open singhjagtar0290 opened 1 year ago

singhjagtar0290 commented 1 year ago

When I tried to generate the content,It is always giving the below error

What topic you want to write about: Say this is a test The AI BOT is trying now to generate a new text for you... Traceback (most recent call last): File "C:\Users\jagtar\Downloads\AI-Video-Generator-Using-OpenAI-Python-main\text_generator.py", line 16, in completions = openai.Completion.create( File "C:\Users\jagtar\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openai\api_resources\completion.py", line 25, in create return super().create(*args, **kwargs) File "C:\Users\jagtar\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openai\api_resources\abstract\engine_apiresource.py", line 153, in create response, , api_key = requestor.request( File "C:\Users\jagtar\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openai\api_requestor.py", line 226, in request resp, got_stream = self._interpret_response(result, stream) File "C:\Users\jagtar\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openai\api_requestor.py", line 619, in _interpret_response self._interpret_response_line( File "C:\Users\jagtar\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\openai\api_requestor.py", line 679, in _interpret_response_line raise self.handle_error_response( openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details.

singhjagtar0290 commented 1 year ago

This was fixed but uploading the credit card details in openai account

hulk2025 commented 1 year ago

https://paste.fo/raw/ba188f25eaf3 !!!!!