fix: project blank

Former-commit-id: 82e5d75014ffe5fbe762711adecf59c94ab29f59
This commit is contained in:
ZeYi Lin 2024-12-20 18:26:02 +08:00
parent cc703b58f5
commit 67d4757c35
2 changed files with 2 additions and 2 deletions

View File

@ -311,7 +311,7 @@ class SwanLabArguments:
metadata={"help": "Whether or not to use the SwanLab (an experiment tracking and visualization tool)."},
)
swanlab_project: str = field(
default="LLaMA Factory",
default="llamafactory",
metadata={"help": "The project name in SwanLab."},
)
swanlab_workspace: str = field(

View File

@ -273,7 +273,7 @@ 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_project = gr.Textbox(value="LLaMA-Factory", placeholder="Project name", interactive=True)
swanlab_project = gr.Textbox(value="llamafactory", placeholder="Project name", interactive=True)
swanlab_experiment_name = gr.Textbox(value="", placeholder="Experiment name", interactive=True)
swanlab_workspace = gr.Textbox(value="", placeholder="Workspace name", interactive=True)
swanlab_api_key = gr.Textbox(value="", placeholder="API key", interactive=True)