削减默认的最大线程数到5
This commit is contained in:
@ -132,7 +132,7 @@ def request_gpt_model_in_new_thread_with_ui_alive(
|
||||
def request_gpt_model_multi_threads_with_very_awesome_ui_and_high_efficiency(
|
||||
inputs_array, inputs_show_user_array, llm_kwargs,
|
||||
chatbot, history_array, sys_prompt_array,
|
||||
refresh_interval=0.2, max_workers=10, scroller_max_len=30,
|
||||
refresh_interval=0.2, max_workers=5, scroller_max_len=30,
|
||||
handle_token_exceed=True, show_user_at_complete=False,
|
||||
retry_times_at_unknown_error=2,
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user