onekq commited on
Commit
af818e2
1 Parent(s): 649d64d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -82,9 +82,10 @@ with demo:
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
90
  demo.launch()
 
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
+ duo_leaderboard.render()
87
  gr.Markdown("# WebApp1K ([Benchmark](https://huggingface.co/datasets/onekq-ai/WebApp1K-React))")
88
+ #leaderboard = init_leaderboard(complete_pass_at_k, height=800)
89
 
90
  # Launch the Gradio interface
91
  demo.launch()