修复一些细节

This commit is contained in:
Your Name
2023-04-23 22:44:18 +08:00
parent 4a494354b1
commit 781ef4487c
2 changed files with 9 additions and 5 deletions

View File

@@ -192,7 +192,7 @@ def predict_no_ui_long_connection(inputs, llm_kwargs, history, sys_prompt, obser
def mutex_manager(window_mutex, observe_window):
while True:
time.sleep(0.5)
time.sleep(0.25)
if not window_mutex[-1]: break
# 看门狗watchdog
for i in range(n_model):