Skip to content

Commit 0297c67

Browse files
committed
fix web-ui (#1909)
(cherry picked from commit 2b6da91)
1 parent b811201 commit 0297c67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/ui/llm_train/save.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Save(BaseUI):
4646
'en': 'Set the model as private',
4747
}
4848
},
49-
'push_hub_strategy': {
49+
'hub_strategy': {
5050
'label': {
5151
'zh': '推送策略',
5252
'en': 'Push strategy',
@@ -76,5 +76,5 @@ def do_build_ui(cls, base_tab: Type['BaseUI']):
7676
gr.Checkbox(elem_id='push_to_hub', scale=20)
7777
gr.Textbox(elem_id='hub_model_id', lines=1, scale=20)
7878
gr.Checkbox(elem_id='hub_private_repo', scale=20)
79-
gr.Dropdown(elem_id='push_hub_strategy', scale=20)
79+
gr.Dropdown(elem_id='hub_strategy', scale=20)
8080
gr.Textbox(elem_id='hub_token', lines=1, scale=20)

0 commit comments

Comments
 (0)