This commit is contained in:
qingxu fu 2023-04-15 21:08:44 +08:00
parent f6483c93e1
commit 8049296bee
2 changed files with 2 additions and 2 deletions

View File

@ -236,7 +236,7 @@ def request_gpt_model_multi_threads_with_very_awesome_ui_and_high_efficiency(
wait = random.randint(5, 20) wait = random.randint(5, 20)
if "Rate limit reached" in tb_str: if "Rate limit reached" in tb_str:
wait = wait * 3 wait = wait * 3
fail_info = "OpenAI请求速率限制 " fail_info = "OpenAI绑定信用卡可解除频率限制 "
else: else:
fail_info = "" fail_info = ""
# 也许等待十几秒后,情况会好转 # 也许等待十几秒后,情况会好转

View File

@ -1,4 +1,4 @@
gradio>=3.25.0 gradio==3.25.0
tiktoken>=0.3.3 tiktoken>=0.3.3
requests[socks] requests[socks]
transformers transformers