Update app.py
Browse files
app.py
CHANGED
@@ -28,14 +28,9 @@ with gr.Blocks() as block:
|
|
28 |
)
|
29 |
|
30 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
31 |
-
with gr.TabItem("
|
32 |
-
gr.Markdown(
|
33 |
-
LEADERBOARD_INTRODUCTION
|
34 |
-
)
|
35 |
-
|
36 |
-
with gr.TabItem("π MEGA-Bench", elem_id="qa-tab-table1", id=1):
|
37 |
with gr.Row():
|
38 |
-
with gr.Accordion("Citation", open=
|
39 |
citation_button = gr.Textbox(
|
40 |
value=CITATION_BUTTON_TEXT,
|
41 |
label=CITATION_BUTTON_LABEL,
|
@@ -141,7 +136,11 @@ with gr.Blocks() as block:
|
|
141 |
inputs=[table_selector, super_group_selector, model_group_selector],
|
142 |
outputs=[data_component, caption_component, css_style]
|
143 |
)
|
144 |
-
|
|
|
|
|
|
|
|
|
145 |
with gr.TabItem("π Data Information", elem_id="qa-tab-table2", id=2):
|
146 |
gr.Markdown(DATA_INFO, elem_classes="markdown-text")
|
147 |
|
|
|
28 |
)
|
29 |
|
30 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
31 |
+
with gr.TabItem("π MEGA-Bench", elem_id="qa-tab-table1", id=0):
|
|
|
|
|
|
|
|
|
|
|
32 |
with gr.Row():
|
33 |
+
with gr.Accordion("Citation", open=True):
|
34 |
citation_button = gr.Textbox(
|
35 |
value=CITATION_BUTTON_TEXT,
|
36 |
label=CITATION_BUTTON_LABEL,
|
|
|
136 |
inputs=[table_selector, super_group_selector, model_group_selector],
|
137 |
outputs=[data_component, caption_component, css_style]
|
138 |
)
|
139 |
+
with gr.TabItem("π Introduction", elem_id="intro-tab", id=1):
|
140 |
+
gr.Markdown(
|
141 |
+
LEADERBOARD_INTRODUCTION
|
142 |
+
)
|
143 |
+
|
144 |
with gr.TabItem("π Data Information", elem_id="qa-tab-table2", id=2):
|
145 |
gr.Markdown(DATA_INFO, elem_classes="markdown-text")
|
146 |
|