ZeroCommand commited on
Commit
d2a76c0
1 Parent(s): 91be13d

Update app_text_classification.py

Browse files
Files changed (1) hide show
  1. app_text_classification.py +3 -3
app_text_classification.py CHANGED
@@ -39,7 +39,7 @@ def get_demo():
39
  )
40
  with gr.Row():
41
  model_id_input = gr.Textbox(
42
- label="Hugging Face model id",
43
  placeholder=EXAMPLE_MODEL_ID + " (press enter to confirm)",
44
  )
45
 
@@ -56,12 +56,12 @@ def get_demo():
56
  dataset_split_input = gr.Dropdown(label="Dataset Split", visible=False, allow_custom_value=True)
57
 
58
  with gr.Row():
59
- first_line_ds = gr.DataFrame(label="Dataset preview", visible=False)
60
  with gr.Row():
61
  loading_status = gr.HTML(visible=True)
62
  with gr.Row():
63
  example_btn = gr.Button(
64
- "Validate model & dataset",
65
  visible=True,
66
  variant="primary",
67
  interactive=False,
 
39
  )
40
  with gr.Row():
41
  model_id_input = gr.Textbox(
42
+ label="Hugging Face Model id",
43
  placeholder=EXAMPLE_MODEL_ID + " (press enter to confirm)",
44
  )
45
 
 
56
  dataset_split_input = gr.Dropdown(label="Dataset Split", visible=False, allow_custom_value=True)
57
 
58
  with gr.Row():
59
+ first_line_ds = gr.DataFrame(label="Dataset Preview", visible=False)
60
  with gr.Row():
61
  loading_status = gr.HTML(visible=True)
62
  with gr.Row():
63
  example_btn = gr.Button(
64
+ "Validate Model & Dataset",
65
  visible=True,
66
  variant="primary",
67
  interactive=False,