Spaces:
Running
Running
Yuxuan-Zhang-Dexter
commited on
Commit
·
6369a6a
1
Parent(s):
8e60916
increase leaderboard table height
Browse files- app.py +5 -5
- leaderboard_utils.py +1 -1
- rank_data_03_25_2025.json +1 -1
app.py
CHANGED
@@ -155,7 +155,7 @@ def update_df_with_height(df):
|
|
155 |
show_fullscreen_button=True,
|
156 |
line_breaks=True,
|
157 |
show_search="search",
|
158 |
-
max_height=None, # Remove height limitation
|
159 |
column_widths=col_widths)
|
160 |
|
161 |
def update_leaderboard(mario_overall, mario_details,
|
@@ -515,7 +515,7 @@ def build_app():
|
|
515 |
with gr.Blocks(css="""
|
516 |
/* Fix for scrolling issues */
|
517 |
html, body {
|
518 |
-
overflow-y:
|
519 |
overflow-x: hidden !important;
|
520 |
width: 100% !important;
|
521 |
height: 100% !important;
|
@@ -588,14 +588,14 @@ def build_app():
|
|
588 |
.table-container > div,
|
589 |
.table-container > div > div {
|
590 |
overflow: hidden !important;
|
591 |
-
max-height: none !important;
|
592 |
}
|
593 |
|
594 |
/* Ensure table contents are visible without scrollbars */
|
595 |
.gradio-dataframe,
|
596 |
[data-testid="dataframe"] {
|
597 |
overflow: visible !important;
|
598 |
-
max-height: none !important;
|
599 |
border: none !important;
|
600 |
}
|
601 |
|
@@ -958,7 +958,7 @@ def build_app():
|
|
958 |
show_row_numbers=True,
|
959 |
show_fullscreen_button=True,
|
960 |
line_breaks=True,
|
961 |
-
max_height=
|
962 |
show_search="search",
|
963 |
column_widths=col_widths
|
964 |
)
|
|
|
155 |
show_fullscreen_button=True,
|
156 |
line_breaks=True,
|
157 |
show_search="search",
|
158 |
+
# max_height=None, # Remove height limitation - COMMENTED OUT
|
159 |
column_widths=col_widths)
|
160 |
|
161 |
def update_leaderboard(mario_overall, mario_details,
|
|
|
515 |
with gr.Blocks(css="""
|
516 |
/* Fix for scrolling issues */
|
517 |
html, body {
|
518 |
+
overflow-y: auto !important;
|
519 |
overflow-x: hidden !important;
|
520 |
width: 100% !important;
|
521 |
height: 100% !important;
|
|
|
588 |
.table-container > div,
|
589 |
.table-container > div > div {
|
590 |
overflow: hidden !important;
|
591 |
+
/* max-height: none !important; */ /* REMOVED */
|
592 |
}
|
593 |
|
594 |
/* Ensure table contents are visible without scrollbars */
|
595 |
.gradio-dataframe,
|
596 |
[data-testid="dataframe"] {
|
597 |
overflow: visible !important;
|
598 |
+
/* max-height: none !important; */ /* REMOVED */
|
599 |
border: none !important;
|
600 |
}
|
601 |
|
|
|
958 |
show_row_numbers=True,
|
959 |
show_fullscreen_button=True,
|
960 |
line_breaks=True,
|
961 |
+
max_height=1000, # Set a larger fixed height
|
962 |
show_search="search",
|
963 |
column_widths=col_widths
|
964 |
)
|
leaderboard_utils.py
CHANGED
@@ -19,7 +19,7 @@ def get_organization(model_name):
|
|
19 |
return "anthropic"
|
20 |
elif "gemini" in m:
|
21 |
return "google"
|
22 |
-
elif "o1" in m or "gpt" in m or "o3" in m:
|
23 |
return "openai"
|
24 |
elif "deepseek" in m:
|
25 |
return "deepseek"
|
|
|
19 |
return "anthropic"
|
20 |
elif "gemini" in m:
|
21 |
return "google"
|
22 |
+
elif "o1" in m or "gpt" in m or "o3" in m or "o4" in m:
|
23 |
return "openai"
|
24 |
elif "deepseek" in m:
|
25 |
return "deepseek"
|
rank_data_03_25_2025.json
CHANGED
@@ -322,7 +322,7 @@
|
|
322 |
"results": [
|
323 |
{
|
324 |
"model": "o3",
|
325 |
-
"levels_cracked": "
|
326 |
"steps": "[16, 40, 59, 110]",
|
327 |
"rank": 1
|
328 |
},
|
|
|
322 |
"results": [
|
323 |
{
|
324 |
"model": "o3",
|
325 |
+
"levels_cracked": "5",
|
326 |
"steps": "[16, 40, 59, 110]",
|
327 |
"rank": 1
|
328 |
},
|