Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,6 +43,8 @@ async def get_leaderboard_data():
|
|
43 |
|
44 |
async def update_leaderboard_table():
|
45 |
leaderboard_data = await get_leaderboard_data()
|
|
|
|
|
46 |
# Add emojis to the leaderboard data
|
47 |
for row in leaderboard_data:
|
48 |
row[0] = f"{row[0]} π"
|
|
|
43 |
|
44 |
async def update_leaderboard_table():
|
45 |
leaderboard_data = await get_leaderboard_data()
|
46 |
+
# Convert tuples to lists
|
47 |
+
leaderboard_data = [list(row) for row in leaderboard_data]
|
48 |
# Add emojis to the leaderboard data
|
49 |
for row in leaderboard_data:
|
50 |
row[0] = f"{row[0]} π"
|