Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -475,7 +475,7 @@ with block:
|
|
475 |
)
|
476 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
477 |
# Table 0
|
478 |
-
with gr.TabItem("📊
|
479 |
with gr.Row():
|
480 |
with gr.Accordion("Citation", open=False):
|
481 |
citation_button = gr.Textbox(
|
@@ -488,31 +488,6 @@ with block:
|
|
488 |
gr.Markdown(
|
489 |
TABLE_INTRODUCTION
|
490 |
)
|
491 |
-
with gr.Row():
|
492 |
-
with gr.Column(scale=0.2):
|
493 |
-
choosen_q = gr.Button("Select Quality Dimensions")
|
494 |
-
choosen_s = gr.Button("Select Semantic Dimensions")
|
495 |
-
# enable_b = gr.Button("Select All")
|
496 |
-
disable_b = gr.Button("Deselect All")
|
497 |
-
|
498 |
-
with gr.Column(scale=0.8):
|
499 |
-
vbench_team_filter = gr.Checkbox(
|
500 |
-
label="Sampled by VBench Team (Uncheck to view all submissions)",
|
501 |
-
value=False,
|
502 |
-
interactive=True
|
503 |
-
)
|
504 |
-
vbench_validate_filter = gr.Checkbox(
|
505 |
-
label="Evaluated by VBench Team (Uncheck to view all submissions)",
|
506 |
-
value=True,
|
507 |
-
interactive=True
|
508 |
-
)
|
509 |
-
# selection for column part:
|
510 |
-
checkbox_group = gr.CheckboxGroup(
|
511 |
-
choices=TASK_INFO,
|
512 |
-
value=DEFAULT_INFO,
|
513 |
-
label="Evaluation Dimension",
|
514 |
-
interactive=True,
|
515 |
-
)
|
516 |
|
517 |
data_component = gr.components.Dataframe(
|
518 |
value=get_baseline_df,
|
|
|
475 |
)
|
476 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
477 |
# Table 0
|
478 |
+
with gr.TabItem("📊 V-STaR", elem_id="vbench-tab-table", id=1):
|
479 |
with gr.Row():
|
480 |
with gr.Accordion("Citation", open=False):
|
481 |
citation_button = gr.Textbox(
|
|
|
488 |
gr.Markdown(
|
489 |
TABLE_INTRODUCTION
|
490 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
491 |
|
492 |
data_component = gr.components.Dataframe(
|
493 |
value=get_baseline_df,
|