afght12 commited on
Commit
7748e2a
Β·
verified Β·
1 Parent(s): c3c43f6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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]} πŸ†"