Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
GitHub Actions
commited on
Commit
·
835c99d
1
Parent(s):
e5d1272
Sync from GitHub repo
Browse files
models.py
CHANGED
@@ -345,7 +345,7 @@ def get_leaderboard_data(model_type):
|
|
345 |
|
346 |
# Get models with >350 votes ordered by ELO score
|
347 |
# Note: Model.match_count now only includes votes that count for public leaderboard
|
348 |
-
models = query.filter(Model.match_count >
|
349 |
|
350 |
result = []
|
351 |
for rank, model in enumerate(models, 1):
|
|
|
345 |
|
346 |
# Get models with >350 votes ordered by ELO score
|
347 |
# Note: Model.match_count now only includes votes that count for public leaderboard
|
348 |
+
models = query.filter(Model.match_count > 300).order_by(Model.current_elo.desc()).all()
|
349 |
|
350 |
result = []
|
351 |
for rank, model in enumerate(models, 1):
|