Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -278,7 +278,7 @@ def generate_leaderboard(collection):
|
|
278 |
|
279 |
category_data = []
|
280 |
for category, data in row['categories'].items():
|
281 |
-
category_data.append(f"{
|
282 |
|
283 |
total_elo = sum(category['elo_rating'] for category in row['categories'].values())
|
284 |
total_games = sum(category['games_played'] for category in row['categories'].values())
|
|
|
278 |
|
279 |
category_data = []
|
280 |
for category, data in row['categories'].items():
|
281 |
+
category_data.append(f"{data['elo_rating']}")
|
282 |
|
283 |
total_elo = sum(category['elo_rating'] for category in row['categories'].values())
|
284 |
total_games = sum(category['games_played'] for category in row['categories'].values())
|