Update app.py
Browse files
app.py
CHANGED
@@ -73,10 +73,14 @@ with gr.Blocks() as demo:
|
|
73 |
"[Github](https://github.com/onekq/WebApp1k) " +
|
74 |
"[AI Models](https://www.aimodels.fyi/papers/arxiv/webapp1k-practical-code-generation-benchmark-web-app)")
|
75 |
|
76 |
-
gr.
|
77 |
-
|
78 |
-
|
79 |
-
|
|
|
|
|
|
|
|
|
80 |
|
81 |
# Launch the Gradio interface
|
82 |
demo.launch()
|
|
|
73 |
"[Github](https://github.com/onekq/WebApp1k) " +
|
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():
|
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():
|
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 |
|
85 |
# Launch the Gradio interface
|
86 |
demo.launch()
|