ChatGPT
ChatGPT copied to clipboard
Error... Logging in again[BUG]
Error... Logging in again 当我执行如下代码时,出现这样的错误: from revChatGPT.V2 import Chatbot
async def main(): chatbot = Chatbot(email="@gmail.com", password="xxx") async for line in chatbot.ask("Hello"): # print(line["choices"][0]["text"].replace("<|im_end|>", ""), end="") print(line) sys.stdout.flush() print()
if name == "main": import asyncio asyncio.run(main())
Same as me
OpenAI returning error for some reason
加一个for循环包裹try..catch来实现重复登录直到登录上为止