Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -569,10 +569,10 @@ with gr.Blocks(css="""
|
|
| 569 |
This formula rewards models with higher win rates and more battles. As the number of battles increases, the score approaches the win rate.
|
| 570 |
""")
|
| 571 |
leaderboard = gr.Dataframe(
|
| 572 |
-
headers=["Model", "Score", "Wins", "Losses", "Total Battles", "Win Rate"],
|
| 573 |
row_count=10,
|
| 574 |
-
col_count=
|
| 575 |
-
interactive=
|
| 576 |
label="Leaderboard"
|
| 577 |
)
|
| 578 |
|
|
@@ -630,10 +630,10 @@ with gr.Blocks(css="""
|
|
| 630 |
The ELO rating is calculated based on wins and losses, with adjustments made based on the relative strengths of opponents.
|
| 631 |
""")
|
| 632 |
elo_leaderboard = gr.Dataframe(
|
| 633 |
-
headers=["Model", "ELO Rating", "Wins", "Losses", "Total Battles", "Win Rate"],
|
| 634 |
row_count=10,
|
| 635 |
-
col_count=
|
| 636 |
-
interactive=
|
| 637 |
label="ELO Leaderboard"
|
| 638 |
)
|
| 639 |
|
|
@@ -667,7 +667,7 @@ with gr.Blocks(css="""
|
|
| 667 |
value=table_data,
|
| 668 |
row_count=len(table_data),
|
| 669 |
col_count=len(headers),
|
| 670 |
-
interactive=
|
| 671 |
label="Model Performance Statistics"
|
| 672 |
)
|
| 673 |
else:
|
|
|
|
| 569 |
This formula rewards models with higher win rates and more battles. As the number of battles increases, the score approaches the win rate.
|
| 570 |
""")
|
| 571 |
leaderboard = gr.Dataframe(
|
| 572 |
+
headers=["#", "Model", "Score", "Wins", "Losses", "Total Battles", "Win Rate"],
|
| 573 |
row_count=10,
|
| 574 |
+
col_count=7,
|
| 575 |
+
interactive=True,
|
| 576 |
label="Leaderboard"
|
| 577 |
)
|
| 578 |
|
|
|
|
| 630 |
The ELO rating is calculated based on wins and losses, with adjustments made based on the relative strengths of opponents.
|
| 631 |
""")
|
| 632 |
elo_leaderboard = gr.Dataframe(
|
| 633 |
+
headers=["#", "Model", "ELO Rating", "Wins", "Losses", "Total Battles", "Win Rate"],
|
| 634 |
row_count=10,
|
| 635 |
+
col_count=7,
|
| 636 |
+
interactive=True,
|
| 637 |
label="ELO Leaderboard"
|
| 638 |
)
|
| 639 |
|
|
|
|
| 667 |
value=table_data,
|
| 668 |
row_count=len(table_data),
|
| 669 |
col_count=len(headers),
|
| 670 |
+
interactive=True,
|
| 671 |
label="Model Performance Statistics"
|
| 672 |
)
|
| 673 |
else:
|