From ff21424290283cc0a2f5d64c5680480901ba4216 Mon Sep 17 00:00:00 2001 From: hiyouga Date: Thu, 21 Sep 2023 19:55:38 +0800 Subject: [PATCH] fix webui Former-commit-id: 5f3ab3ddde4a16fae3eb121026e94722082e24bf --- src/llmtuner/webui/components/train.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llmtuner/webui/components/train.py b/src/llmtuner/webui/components/train.py index cc58def9..d12f8c9f 100644 --- a/src/llmtuner/webui/components/train.py +++ b/src/llmtuner/webui/components/train.py @@ -141,7 +141,7 @@ def create_train_tab(top_elems: Dict[str, "Component"], runner: "Runner") -> Dic start_btn.click(runner.run_train, input_components, output_components) stop_btn.click(runner.set_abort, queue=False) - output_box.change( + process_bar.change( gen_plot, [top_elems["model_name"], top_elems["finetuning_type"], output_dir], loss_viewer, queue=False )