onekq commited on
Commit
e91ebe6
·
verified ·
1 Parent(s): 1bfb41b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -4
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.Markdown("# WebApp1K-Duo ([Benchmark](https://huggingface.co/datasets/onekq-ai/WebApp1K-Duo-React))")
77
- duo_leaderboard = init_leaderboard(duo_complete_pass_at_k, default_selection = [], height=400)
78
- gr.Markdown("# WebApp1K ([Benchmark](https://huggingface.co/datasets/onekq-ai/WebApp1K-React))")
79
- leaderboard = init_leaderboard(complete_pass_at_k, default_selection = [], height=800)
 
 
 
 
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()