Spaces:
Running
Running
wenhuchen
commited on
Commit
β’
c41df2a
1
Parent(s):
b6fb488
update leaderboard
Browse files
app.py
CHANGED
@@ -10,14 +10,14 @@ with block:
|
|
10 |
)
|
11 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
12 |
# Table 1
|
13 |
-
with gr.TabItem("π
|
14 |
with gr.Row():
|
15 |
with gr.Accordion("Citation", open=False):
|
16 |
citation_button = gr.Textbox(
|
17 |
value=CITATION_BUTTON_TEXT,
|
18 |
label=CITATION_BUTTON_LABEL,
|
19 |
elem_id="citation-button",
|
20 |
-
lines=
|
21 |
)
|
22 |
gr.Markdown(
|
23 |
TABLE_INTRODUCTION
|
@@ -35,7 +35,7 @@ with block:
|
|
35 |
refresh_button.click(fn=refresh_data, outputs=data_component)
|
36 |
|
37 |
# table 2
|
38 |
-
with gr.TabItem("π About", elem_id="
|
39 |
gr.Markdown(LEADERBORAD_INFO, elem_classes="markdown-text")
|
40 |
|
41 |
# table 3
|
|
|
10 |
)
|
11 |
with gr.Tabs(elem_classes="tab-buttons") as tabs:
|
12 |
# Table 1
|
13 |
+
with gr.TabItem("π Science Leaderboard", elem_id="qa-tab-table1", id=1):
|
14 |
with gr.Row():
|
15 |
with gr.Accordion("Citation", open=False):
|
16 |
citation_button = gr.Textbox(
|
17 |
value=CITATION_BUTTON_TEXT,
|
18 |
label=CITATION_BUTTON_LABEL,
|
19 |
elem_id="citation-button",
|
20 |
+
lines=20,
|
21 |
)
|
22 |
gr.Markdown(
|
23 |
TABLE_INTRODUCTION
|
|
|
35 |
refresh_button.click(fn=refresh_data, outputs=data_component)
|
36 |
|
37 |
# table 2
|
38 |
+
with gr.TabItem("π About", elem_id="qa-tab-table2", id=2):
|
39 |
gr.Markdown(LEADERBORAD_INFO, elem_classes="markdown-text")
|
40 |
|
41 |
# table 3
|