mlabonne commited on
Commit
95baeab
·
verified ·
1 Parent(s): 0f040ff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -419,7 +419,7 @@ elo_ratings_df = pd.read_csv("chessllm_leaderboard.csv")
419
  title = """
420
  <div align="center">
421
  <p style="font-size: 36px;">⚔️ Chess LLM Arena</h1>
422
- <p style="font-size: 20px;">💻 <a href="https://github.com/mlabonne/chessllm">GitHub</a> • 🏆 <a href="https://gist.github.com/chessllm/696115fe2df47fb2350fcff2663678c9">Leaderboard</a> • ♟️ <a href="https://colab.research.google.com/drive/1e2PszrvaY4Lv5SiRXuBGb5R4GdZsm-H3">Trainer</a> • ♟️ <a href="https://colab.research.google.com/drive/11UjbfajCzphe707_V7PD-2e5WIzyintf">Dataset</a></p>
423
  <p><em>Pick two chess LLMs and make them compete in a chess match. When the game is over, it will automatically update the crowd-sourced leaderboard. Build a dataset and train your own small language model to compete in the arena.</em></p>
424
  </div>
425
  """
@@ -433,6 +433,7 @@ with gr.Blocks() as demo:
433
  with gr.Row():
434
  out = gr.Image(width=256)
435
  btn.click(fn=update, inputs=[model_id_white, model_id_black], outputs=out)
436
- gr.Dataframe(value=elo_ratings_df)
 
437
 
438
  demo.launch()
 
419
  title = """
420
  <div align="center">
421
  <p style="font-size: 36px;">⚔️ Chess LLM Arena</h1>
422
+ <p style="font-size: 20px;">💻 <a href="https://github.com/mlabonne/chessllm">GitHub</a> • 📅 <a href="https://gist.github.com/chessllm/696115fe2df47fb2350fcff2663678c9">Gist Database</a> • ♟️ <a href="https://colab.research.google.com/drive/1e2PszrvaY4Lv5SiRXuBGb5R4GdZsm-H3">Trainer</a> • ♟️ <a href="https://colab.research.google.com/drive/11UjbfajCzphe707_V7PD-2e5WIzyintf">Dataset</a></p>
423
  <p><em>Pick two chess LLMs and make them compete in a chess match. When the game is over, it will automatically update the crowd-sourced leaderboard. Build a dataset and train your own small language model to compete in the arena.</em></p>
424
  </div>
425
  """
 
433
  with gr.Row():
434
  out = gr.Image(width=256)
435
  btn.click(fn=update, inputs=[model_id_white, model_id_black], outputs=out)
436
+ gr.Markdown('<p style="font-size: 28px;">🏆 Leaderboard</p>')
437
+ leaderboard = gr.Dataframe(value=elo_ratings_df)
438
 
439
  demo.launch()