qingxu99 commited on
Commit
8049296
1 Parent(s): f6483c9
crazy_functions/crazy_utils.py CHANGED
@@ -236,7 +236,7 @@ def request_gpt_model_multi_threads_with_very_awesome_ui_and_high_efficiency(
236
  wait = random.randint(5, 20)
237
  if "Rate limit reached" in tb_str:
238
  wait = wait * 3
239
- fail_info = "OpenAI请求速率限制 "
240
  else:
241
  fail_info = ""
242
  # 也许等待十几秒后,情况会好转
 
236
  wait = random.randint(5, 20)
237
  if "Rate limit reached" in tb_str:
238
  wait = wait * 3
239
+ fail_info = "OpenAI绑定信用卡可解除频率限制 "
240
  else:
241
  fail_info = ""
242
  # 也许等待十几秒后,情况会好转
requirements.txt CHANGED
@@ -1,4 +1,4 @@
1
- gradio>=3.25.0
2
  tiktoken>=0.3.3
3
  requests[socks]
4
  transformers
 
1
+ gradio==3.25.0
2
  tiktoken>=0.3.3
3
  requests[socks]
4
  transformers