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

[感谢]请问可否提供一份全英文的本项目源代码?自己运行后出错 #300

Closed
longfuxu opened this issue Apr 3, 2023 · 4 comments

Comments

@longfuxu
Copy link

longfuxu commented Apr 3, 2023

Describe the bug 简述
请问可否提供一份全英文的本项目源代码?自己运行后出错
Screen Shot 截图
image

image

Terminal Traceback 终端traceback(如果有)
Traceback (most recent call last):
File "/Users/longfu/.pyenv/versions/3.10.6/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/Users/longfu/.pyenv/versions/3.10.6/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/Users/longfu/OpenAI Projects/chatgpt_academic/crazy_functions/代码重写为全英文_多线程.py", line 35, in thread_worker
gpt_say = predict_no_ui_long_connection(inputs=i_say, top_p=top_p, temperature=temperature, history=history, sys_prompt=sys_prompt)
File "/Users/longfu/OpenAI Projects/chatgpt_academic/predict.py", line 111, in predict_no_ui_long_connection
raise ConnectionAbortedError("正常结束,但显示Token不足。")
ConnectionAbortedError: 正常结束,但显示Token不足。
chatbot, history, msg

查询代理的地理位置,返回的结果是{'error': True, 'reason': 'RateLimited', 'message': 'Visit https://ipapi.co/ratelimited/ for details'}
代理配置 无, 代理所在地:未知,IP查询频率受限

我自己绑定信用卡,不会余额不足,其他应用仍然可以使用,不知道什么原因。
如果您那边可以运行,可否提供一个branch,谢谢大佬

@binary-husky
Copy link
Owner

binary-husky commented Apr 4, 2023

我看看~

@binary-husky
Copy link
Owner

文本的长度恰好卡了一个临界值附近,导致openai没法返回输出文本……

@binary-husky
Copy link
Owner

修复了一些bug

翻译后的结果:
image

附录转译后的项目(英文项目源码暂不进git):
generated_english_version.zip

@longfuxu
Copy link
Author

longfuxu commented Apr 5, 2023

谢谢

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

2 participants