forked from p04798526/LLaMA-Factory-Mirror
fix webui
This commit is contained in:
parent
dbaef776a1
commit
5f3ab3ddde
|
@ -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)
|
start_btn.click(runner.run_train, input_components, output_components)
|
||||||
stop_btn.click(runner.set_abort, queue=False)
|
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
|
gen_plot, [top_elems["model_name"], top_elems["finetuning_type"], output_dir], loss_viewer, queue=False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue