Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何解决以下问题呢? #6

Open
Travis13197 opened this issue Feb 8, 2023 · 0 comments
Open

如何解决以下问题呢? #6

Travis13197 opened this issue Feb 8, 2023 · 0 comments

Comments

@Travis13197
Copy link

Traceback (most recent call last):
File "app.py", line 5, in
run()
File "/home/liuchuanyang13/ChatGPT/EASYChatGPT-main/bbot.py", line 24, in run
out = chatbot.ask(input_text)
File "/home/liuchuanyang13/anaconda3/lib/python3.8/site-packages/revChatGPT/Official.py", line 139, in ask
completion = self._get_completion(
File "/home/liuchuanyang13/anaconda3/lib/python3.8/site-packages/revChatGPT/Official.py", line 64, in _get_completion
return openai.Completion.create(
File "/home/liuchuanyang13/anaconda3/lib/python3.8/site-packages/openai/api_resources/completion.py", line 25, in create
return super().create(*args, **kwargs)
File "/home/liuchuanyang13/anaconda3/lib/python3.8/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 153, in create
response, _, api_key = requestor.request(
File "/home/liuchuanyang13/anaconda3/lib/python3.8/site-packages/openai/api_requestor.py", line 226, in request
resp, got_stream = self._interpret_response(result, stream)
File "/home/liuchuanyang13/anaconda3/lib/python3.8/site-packages/openai/api_requestor.py", line 619, in _interpret_response
self._interpret_response_line(
File "/home/liuchuanyang13/anaconda3/lib/python3.8/site-packages/openai/api_requestor.py", line 679, in _interpret_response_line

raise self.handle_error_response(
openai.error.AuthenticationError: Incorrect API key provided: sk-xxxxxx. You can find your API key at https://platform.openai.com/account/api-keys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant