From 3e44c8fe3ab5dddd6eb5e620c110089b65657236 Mon Sep 17 00:00:00 2001 From: ZeYi Lin <944270057@qq.com> Date: Thu, 19 Dec 2024 21:26:02 +0800 Subject: [PATCH] fix: text Former-commit-id: 52fe8d61eba7b7d8f66df09a03d40f25cc9c5b44 --- src/llamafactory/webui/components/train.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/llamafactory/webui/components/train.py b/src/llamafactory/webui/components/train.py index 6b14bb81..d7237bd6 100644 --- a/src/llamafactory/webui/components/train.py +++ b/src/llamafactory/webui/components/train.py @@ -273,12 +273,12 @@ def create_train_tab(engine: "Engine") -> Dict[str, "Component"]: with gr.Accordion(open=False) as swanlab_tab: with gr.Row(): use_swanlab = gr.Checkbox() - swanlab_api_key = gr.Textbox(value="", placeholder="API key", interactive=True) - swanlab_project = gr.Textbox(value="", placeholder="Project name", interactive=True) - swanlab_workspace = gr.Textbox(value="", placeholder="Workspace name", interactive=True) + swanlab_project = gr.Textbox(value="LLaMA-Factory", placeholder="Project name", interactive=True) swanlab_experiment_name = gr.Textbox(value="", placeholder="Experiment name", interactive=True) swanlab_description = gr.Textbox(value="", placeholder="Experiment description", interactive=True) swanlab_mode = gr.Dropdown(choices=["cloud", "local", "disabled"], value="cloud", interactive=True) + swanlab_workspace = gr.Textbox(value="", placeholder="Workspace name", interactive=True) + swanlab_api_key = gr.Textbox(value="", placeholder="API key", interactive=True) input_elems.update({use_swanlab, swanlab_api_key, swanlab_project, swanlab_workspace, swanlab_experiment_name, swanlab_description, swanlab_mode}) elem_dict.update(