fix webui

This commit is contained in:
hiyouga 2023-09-21 19:55:38 +08:00
parent dbaef776a1
commit 5f3ab3ddde
1 changed files with 1 additions and 1 deletions

View File

@ -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
)