削减默认的最大线程数到5

This commit is contained in:
qingxu fu
2023-04-14 12:28:25 +08:00
parent de8d20bcc2
commit c8349e766b
5 changed files with 5 additions and 5 deletions

View File

@@ -73,7 +73,7 @@ def 多文件翻译(file_manifest, project_folder, llm_kwargs, plugin_kwargs, ch
chatbot=chatbot,
history_array=[[""] for _ in range(n_split)],
sys_prompt_array=sys_prompt_array,
max_workers=10, # OpenAI所允许的最大并行过载
max_workers=5, # OpenAI所允许的最大并行过载
scroller_max_len = 80
)