Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Update app.py
Browse files417 unmodified lines4184194204214224234244258 unmodified lines434435436437438439440417 unmodified linestitle = """<div align="center"><p style="font-size: 36px;">⚔️ Chess LLM Arena</p><p style="font-size: 20px;">Preview</p><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><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></div>8 unmodified lineswith gr.Row():out = gr.Image(width=256)btn.click(fn=update, inputs=[model_id_white, model_id_black], outputs=out)gr.Markdown('<p style="font-size: 28px;">🏆 Leaderboard</p>')leaderboard = gr.Dataframe(value=elo_ratings_df)demo.launch()417 unmodified lines4184194204214224234248 unmodified lines433434435436437438439417 unmodified linestitle = """<div align="center"><p style="font-size: 36px;">⚔️ Chess LLM Arena (preview)</p><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><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></div>8 unmodified lineswith gr.Row():out = gr.Image(width=256)btn.click(fn=update, inputs=[model_id_white, model_id_black], outputs=out)gr.Markdown('<div align="center"><p style="font-size: 36px;">🏆 Leaderboard</p></div>')leaderboard = gr.Dataframe(value=elo_ratings_df)demo.launch()
app.py+2-3