pick 部分代码

This commit is contained in:
w_xiaolizu
2023-06-27 13:58:09 +08:00
parent 670b5b0f5b
commit b2468e065c
4 changed files with 13 additions and 5 deletions

View File

@ -181,7 +181,7 @@ def request_gpt_model_multi_threads_with_very_awesome_ui_and_high_efficiency(
executor = ThreadPoolExecutor(max_workers=max_workers)
n_frag = len(inputs_array)
# 用户反馈
chatbot.append(["请开始多线程操作。", ""])
chatbot.append([None, ""])
yield from update_ui(chatbot=chatbot, history=[]) # 刷新界面
# 跨线程传递
mutable = [["", time.time(), "等待中"] for _ in range(n_frag)]