Update app.py
Browse files
app.py
CHANGED
@@ -47,10 +47,10 @@ def init_leaderboard(dataframe, default_selection=["Model", "pass@1", "pass@5",
|
|
47 |
cant_deselect=[], # Columns that cannot be deselected
|
48 |
label="Select Columns to Display:",
|
49 |
),
|
50 |
-
search_columns=["Model"], # Columns that can be searched
|
51 |
-
hide_columns=[], # Columns to hide
|
52 |
filter_columns=[], # Filters for the columns
|
53 |
-
bool_checkboxgroup_label="Hide models",
|
54 |
interactive=False,
|
55 |
height=height,
|
56 |
)
|
@@ -81,7 +81,9 @@ with demo:
|
|
81 |
'pass@10': estimate_pass_at_k(x['Runs'].values, x['Successes'].values, 10).mean()
|
82 |
}, index=['pass@1', 'pass@5', 'pass@10'])).reset_index()
|
83 |
|
|
|
84 |
duo_leaderboard = init_leaderboard(duo_complete_pass_at_k, default_selection = ["Model", "pass@1"], height=400)
|
|
|
85 |
leaderboard = init_leaderboard(complete_pass_at_k, height=800)
|
86 |
|
87 |
# Launch the Gradio interface
|
|
|
47 |
cant_deselect=[], # Columns that cannot be deselected
|
48 |
label="Select Columns to Display:",
|
49 |
),
|
50 |
+
#search_columns=["Model"], # Columns that can be searched
|
51 |
+
#hide_columns=[], # Columns to hide
|
52 |
filter_columns=[], # Filters for the columns
|
53 |
+
#bool_checkboxgroup_label="Hide models",
|
54 |
interactive=False,
|
55 |
height=height,
|
56 |
)
|
|
|
81 |
'pass@10': estimate_pass_at_k(x['Runs'].values, x['Successes'].values, 10).mean()
|
82 |
}, index=['pass@1', 'pass@5', 'pass@10'])).reset_index()
|
83 |
|
84 |
+
gr.Markdown("# WebApp1K-Duo ([Benchmark](https://huggingface.co/datasets/onekq-ai/WebApp1K-Duo-React))")
|
85 |
duo_leaderboard = init_leaderboard(duo_complete_pass_at_k, default_selection = ["Model", "pass@1"], height=400)
|
86 |
+
gr.Markdown("# WebApp1K ([Benchmark](https://huggingface.co/datasets/onekq-ai/WebApp1K-React))")
|
87 |
leaderboard = init_leaderboard(complete_pass_at_k, height=800)
|
88 |
|
89 |
# Launch the Gradio interface
|