File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -93,18 +93,18 @@ def update_input_components(dataset_source):
9393 with gr .Column ():
9494 dataset_source = gr .Dropdown (
9595 choices = ["hugging_face" , "local" ],
96- value = "local " ,
96+ value = "hugging_face " ,
9797 label = "dataset [source]"
9898 )
9999 input_path = gr .Textbox (
100100 value = 'chupei/format-jsonl' ,
101101 placeholder = "please input hugging_face dataset path" ,
102102 label = "input_path" ,
103- visible = False
103+ visible = True
104104 )
105105 uploaded_file = gr .File (
106106 label = "upload file" ,
107- visible = True
107+ visible = False
108108 )
109109
110110 data_format = gr .Dropdown (
@@ -119,6 +119,7 @@ def update_input_components(dataset_source):
119119
120120 rule_list = gr .CheckboxGroup (
121121 choices = rule_options ,
122+ value = ['RuleAbnormalChar' , 'RuleAbnormalHtml' ],
122123 label = "rule_list"
123124 )
124125 prompt_list = gr .CheckboxGroup (
You can’t perform that action at this time.
0 commit comments