From d7f267a9f9800f8b5bd21a42359260b7e26dfef1 Mon Sep 17 00:00:00 2001 From: hiyouga Date: Tue, 19 Sep 2023 18:35:21 +0800 Subject: [PATCH] fix webui Former-commit-id: 10ab2f8b9053424d8fa4cc9fb51e61ec74a1236e --- 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 12fbade7..5d054d64 100644 --- a/src/llmtuner/webui/components/train.py +++ b/src/llmtuner/webui/components/train.py @@ -139,7 +139,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) - process_bar.change( + output_box.change( gen_plot, [top_elems["model_name"], top_elems["finetuning_type"], output_dir], loss_viewer, queue=False )