Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,6 @@ async def get_leaderboard_data():
|
|
36 |
leaderboard_data = []
|
37 |
for rank, (uid, score) in enumerate(sorted_scores, start=1):
|
38 |
leaderboard_data.append((rank, uid, score))
|
39 |
-
print(f"Leaderboard data: {leaderboard_data}")
|
40 |
return leaderboard_data
|
41 |
except Exception as e:
|
42 |
print(f"Error fetching leaderboard data: {e}")
|
|
|
36 |
leaderboard_data = []
|
37 |
for rank, (uid, score) in enumerate(sorted_scores, start=1):
|
38 |
leaderboard_data.append((rank, uid, score))
|
|
|
39 |
return leaderboard_data
|
40 |
except Exception as e:
|
41 |
print(f"Error fetching leaderboard data: {e}")
|