Update app.py
Browse files
app.py
CHANGED
@@ -49,7 +49,6 @@ def init_leaderboard(dataframe, default_selection=["Model", "pass@1"], height=60
|
|
49 |
filter_columns=[], # Filters for the columns
|
50 |
interactive=False,
|
51 |
height=height,
|
52 |
-
width=600,
|
53 |
)
|
54 |
|
55 |
# Gradio interface
|
@@ -75,11 +74,11 @@ with gr.Blocks() as demo:
|
|
75 |
"[AI Models](https://www.aimodels.fyi/papers/arxiv/webapp1k-practical-code-generation-benchmark-web-app)")
|
76 |
|
77 |
with gr.Row():
|
78 |
-
with gr.Column():
|
79 |
gr.Markdown("## WebApp1K-Duo ([Benchmark](https://huggingface.co/datasets/onekq-ai/WebApp1K-Duo-React))")
|
80 |
duo_leaderboard = init_leaderboard(duo_complete_pass_at_k, default_selection=[], height=600)
|
81 |
|
82 |
-
with gr.Column():
|
83 |
gr.Markdown("## WebApp1K ([Benchmark](https://huggingface.co/datasets/onekq-ai/WebApp1K-React))")
|
84 |
leaderboard = init_leaderboard(complete_pass_at_k, default_selection=[], height=600)
|
85 |
|
|
|
49 |
filter_columns=[], # Filters for the columns
|
50 |
interactive=False,
|
51 |
height=height,
|
|
|
52 |
)
|
53 |
|
54 |
# Gradio interface
|
|
|
74 |
"[AI Models](https://www.aimodels.fyi/papers/arxiv/webapp1k-practical-code-generation-benchmark-web-app)")
|
75 |
|
76 |
with gr.Row():
|
77 |
+
with gr.Column(scale=1):
|
78 |
gr.Markdown("## WebApp1K-Duo ([Benchmark](https://huggingface.co/datasets/onekq-ai/WebApp1K-Duo-React))")
|
79 |
duo_leaderboard = init_leaderboard(duo_complete_pass_at_k, default_selection=[], height=600)
|
80 |
|
81 |
+
with gr.Column(scale=1):
|
82 |
gr.Markdown("## WebApp1K ([Benchmark](https://huggingface.co/datasets/onekq-ai/WebApp1K-React))")
|
83 |
leaderboard = init_leaderboard(complete_pass_at_k, default_selection=[], height=600)
|
84 |
|