Spaces:
Running
Running
Update app_text_classification.py
Browse files
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
|
| 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
|
| 60 |
with gr.Row():
|
| 61 |
loading_status = gr.HTML(visible=True)
|
| 62 |
with gr.Row():
|
| 63 |
example_btn = gr.Button(
|
| 64 |
-
"Validate
|
| 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,
|