请问该如何作为api来使用?
我选了run locally的方式,运行python server.py后登录了,然后另开了一个cmd窗口运行python main.py报错
2023-07-28 15:24:36,164: INFO: config: base_url='https://chat.openai.com' proxy='' auto_refersh_access_token=False user_data_dir='tmp/.playwright' browser_server='http://localhost:9999' headless=False heart_beat=600 timeout=10000 navigation_timeout=10000 checkbox_timeout=30000 server_state='tmp/server_state' ←[32mINFO←[0m: Started server process [←[36m23636←[0m] ←[32mINFO←[0m: Waiting for application startup. ←[32mINFO←[0m: Application startup complete. ←[31mERROR←[0m: [Errno 10048] error while attempting to bind on address ('0.0.0.0', 8000): 通常每个接字地址(协议/网络地址/端口)只允许使用一次。 ←[32mINFO←[0m: Waiting for application shutdown. ←[32mINFO←[0m: Application shutdown complete.
请问该怎么继续下去呢
看起来是你的 8080 端口冲突了,需要换个端口
这个只做了代理,api 需要看 chatgpt 网页的逻辑,这个项目原来可以,但是不维护了 https://github.com/acheong08/ChatGPT-to-API