Pythonanywhere insufficient_quota message='OpenAI API error received' stream_error=False
openai.error.InvalidRequestError: The model: `davinci-codex` does not exist
2023-06-05 17:21:16,816: Error running WSGI application 2023-06-05 17:21:16,819: File "/home/PetCharmWorld/mysite/flask_app.py", line 30 2023-06-05 17:21:16,819: 2023-06-05 17:21:16,819: response = openai.Completion.create(**completion_params) 2023-06-05 17:21:16,819: 2023-06-05 17:21:16,819: IndentationError: unexpected indent 2023-06-05 17:21:16,819: File "/var/www/petcharmworld_pythonanywhere_com_wsgi.py", line 16, in <module> 2023-06-05 17:21:16,819: from flask_app import app as application # noqa 2023-06-05 17:21:16,820: *************************************************** 2023-06-05 17:21:16,820: If you're seeing an import error and don't know why, 2023-06-05 17:21:16,820: we have a dedicated help page to help you debug: 2023-06-05 17:21:16,820: https://help.pythonanywhere.com/pages/DebuggingImportError/ 2023-06-05 17:21:16,820: *************************************************** 2023-06-05 17:21:16,928: Error running WSGI application 2023-06-05 17:21:16,928: File "/home/PetCharmWorld/mysite/flask_app.py", line 30 2023-06-05 17:21:16,928: 2023-06-05 17:21:16,928: response = openai.Completion.create(**completion_params) 2023-06-05 17:21:16,928: 2023-06-05 17:21:16,928: IndentationError: unexpected indent 2023-06-05 17:21:16,929: File "/var/www/petcharmworld_pythonanywhere_com_wsgi.py", line 16, in <module> 2023-06-05 17:21:16,929: from flask_app import app as application # noqa 2023-06-05 17:21:16,929: *************************************************** 2023-06-05 17:21:16,929: If you're seeing an import error and don't know why, 2023-06-05 17:21:16,929: we have a dedicated help page to help you debug: 2023-06-05 17:21:16,929: https://help.pythonanywhere.com/pages/DebuggingImportError/ 2023-06-05 17:21:16,929: *************************************************** 2023-06-05 17:22:27,704: error_code=None error_message='You exceeded your current quota, please check your plan and billing details.' error_param=None error_type=insufficient_quota message='OpenAI API error received' stream_error=False
How to fix:
Buy a paid plan
Comments
Post a Comment