You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you follow the instructions and try the command python src/generate.py, we receive the following error :
File "D:<PATH>\pokemon-card-generator\src\util\gpt_call.py", line 32, in get_completion
response = openai.Completion.create(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:<PATH>\Python\Python312\Lib\site-packages\openai\lib_old_api.py", line 39, in call
raise APIRemovedInV1(symbol=self._symbol)
openai.lib._old_api.APIRemovedInV1:
You tried to access openai.Completion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
The actual version installed by pip is 1.36.0 nowadays.
The text was updated successfully, but these errors were encountered:
If you follow the instructions and try the command
python src/generate.py,
we receive the following error :The actual version installed by pip is 1.36.0 nowadays.
The text was updated successfully, but these errors were encountered: