Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ Small_original_df=Small_original_df.applymap(formatter)
|
|
30 |
TYPES = ['str', 'number', 'number', 'number']
|
31 |
|
32 |
|
33 |
-
LAST_UPDATED = "
|
34 |
|
35 |
# CSS for styling
|
36 |
css = """
|
@@ -58,11 +58,11 @@ def build_demo(original_df,Small_original_df, TYPES):
|
|
58 |
with gr.Blocks(css=css) as demo:
|
59 |
gr.Markdown(INTRODUCTION_TEXT, elem_id="Intro")
|
60 |
with gr.Tabs():
|
61 |
-
with gr.TabItem("π
|
62 |
leaderboard_table = gr.components.Dataframe(
|
63 |
value=original_df,
|
64 |
datatype=TYPES,
|
65 |
-
label="
|
66 |
height=1000,
|
67 |
wrap=False,
|
68 |
interactive=False,
|
@@ -70,11 +70,11 @@ def build_demo(original_df,Small_original_df, TYPES):
|
|
70 |
min_width=60,
|
71 |
)
|
72 |
|
73 |
-
with gr.TabItem("π
|
74 |
leaderboard_table = gr.components.Dataframe(
|
75 |
value=Small_original_df,
|
76 |
datatype=TYPES,
|
77 |
-
label="
|
78 |
height=1000,
|
79 |
wrap=False,
|
80 |
interactive=False,
|
|
|
30 |
TYPES = ['str', 'number', 'number', 'number']
|
31 |
|
32 |
|
33 |
+
LAST_UPDATED = "June 9th 2024"
|
34 |
|
35 |
# CSS for styling
|
36 |
css = """
|
|
|
58 |
with gr.Blocks(css=css) as demo:
|
59 |
gr.Markdown(INTRODUCTION_TEXT, elem_id="Intro")
|
60 |
with gr.Tabs():
|
61 |
+
with gr.TabItem("π
Large-Scale LLMs leaderboard",elem_id="od-benchmark-tab-table", id=0):
|
62 |
leaderboard_table = gr.components.Dataframe(
|
63 |
value=original_df,
|
64 |
datatype=TYPES,
|
65 |
+
label="Leaderboard_Large",
|
66 |
height=1000,
|
67 |
wrap=False,
|
68 |
interactive=False,
|
|
|
70 |
min_width=60,
|
71 |
)
|
72 |
|
73 |
+
with gr.TabItem("π
Small-Scale LLMS leaderboard",elem_id="od-benchmark-tab-table", id=1):
|
74 |
leaderboard_table = gr.components.Dataframe(
|
75 |
value=Small_original_df,
|
76 |
datatype=TYPES,
|
77 |
+
label="Leaderboard_Small",
|
78 |
height=1000,
|
79 |
wrap=False,
|
80 |
interactive=False,
|