DataEval commited on
Commit
bea9e81
·
verified ·
1 Parent(s): a0ad420

change demo value

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -93,18 +93,18 @@ if __name__ == '__main__':
93
  with gr.Column():
94
  dataset_source = gr.Dropdown(
95
  choices=["hugging_face", "local"],
96
- value="local",
97
  label="dataset [source]"
98
  )
99
  input_path = gr.Textbox(
100
  value='chupei/format-jsonl',
101
  placeholder="please input hugging_face dataset path",
102
  label="input_path",
103
- visible=False
104
  )
105
  uploaded_file = gr.File(
106
  label="upload file",
107
- visible=True
108
  )
109
 
110
  data_format = gr.Dropdown(
@@ -119,6 +119,7 @@ if __name__ == '__main__':
119
 
120
  rule_list = gr.CheckboxGroup(
121
  choices=rule_options,
 
122
  label="rule_list"
123
  )
124
  prompt_list = gr.CheckboxGroup(
 
93
  with gr.Column():
94
  dataset_source = gr.Dropdown(
95
  choices=["hugging_face", "local"],
96
+ value="hugging_face",
97
  label="dataset [source]"
98
  )
99
  input_path = gr.Textbox(
100
  value='chupei/format-jsonl',
101
  placeholder="please input hugging_face dataset path",
102
  label="input_path",
103
+ visible=True
104
  )
105
  uploaded_file = gr.File(
106
  label="upload file",
107
+ visible=False
108
  )
109
 
110
  data_format = gr.Dropdown(
 
119
 
120
  rule_list = gr.CheckboxGroup(
121
  choices=rule_options,
122
+ value=['RuleAbnormalChar', 'RuleAbnormalHtml'],
123
  label="rule_list"
124
  )
125
  prompt_list = gr.CheckboxGroup(