This repository has been archived by the owner on Aug 10, 2023. It is now read-only.
Replies: 1 comment 13 replies
-
It's back up. |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I cannot use you API access. With CLI:
<style type='text/css'>body {font-family:Arial; margin-left:40px; }img { border:0 none; }#content { margin-left: auto; margin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message p { font-size: 13px; color: #000000; margin: 7px 0px 0px0px}#errorref { font-size: 11px; color: #737373; margin-top: 41px }</style><title>Service unavailable</title>Our services aren't available right now
We're working to restore all services as soon as possible. Please check back soon.
Something went wrong!
Response is not in the correct format
From Python:
Logging in...
<style type='text/css'>body {font-family:Arial; margin-left:40px; }img { border:0 none; }#content { margin-left: auto; margin-right: auto }#message h2 { font-size: 20px; font-weight: normal; color: #000000; margin: 34px 0px 0px 0px }#message p { font-size: 13px; color: #000000; margin: 7px 0px 0px0px}#errorref { font-size: 11px; color: #737373; margin-top: 41px }</style><title>Service unavailable</title>(chatgptapi) PS E:\Documents\LocalRepos\Trials\ChatGPT> e:; cd 'e:\Documents\LocalRepos\Trials\ChatGPT'; & 'C:\Users\clt.conda\envs\chatgptapi\python.exe' 'c:\Users\clt.vscode\extensions\ms-python.python-2022.17.13051012\pythonFiles\lib\python\debugpy\adapter/../..\debugpy\launcher' '54583' '--' 'e:\Documents\LocalRepos\Trials\ChatGPT\chatGPT_test01.py'
Logging in...
Our services aren't available right now
We're working to restore all services as soon as possible. Please check back soon.
Traceback (most recent call last):
File "C:\Users\clt.conda\envs\chatgptapi\lib\site-packages\revChatGPT\revChatGPT.py", line 61, in get_chat_text
response = response.text.splitlines()[-4]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "e:\Documents\LocalRepos\Trials\ChatGPT\chatGPT_test01.py", line 20, in
resp = chatbot.get_chat_response(prompt, output="text") # Sends a request to the API and returns the response by OpenAI
File "C:\Users\clt.conda\envs\chatgptapi\lib\site-packages\revChatGPT\revChatGPT.py", line 85, in get_chat_response
return self.get_chat_text(data)
File "C:\Users\clt.conda\envs\chatgptapi\lib\site-packages\revChatGPT\revChatGPT.py", line 65, in get_chat_text
raise ValueError("Response is not in the correct format")
ValueError: Response is not in the correct format
What am I doing wrong?
Thanks for the good work!!!
Beta Was this translation helpful? Give feedback.
All reactions