Spaces:
Sleeping
Sleeping
jarajpu
commited on
Commit
·
5eccd13
1
Parent(s):
3b2442f
enhanced leaderboard
Browse files
app.py
CHANGED
|
@@ -288,7 +288,7 @@ def display_leaderboard():
|
|
| 288 |
dataset = load_dataset("Jay-Rajput/DIS_IPL_Leads", split='train')
|
| 289 |
|
| 290 |
users_data = []
|
| 291 |
-
for user, points_dict in dataset.items():
|
| 292 |
points = points_dict.get("0", 0)
|
| 293 |
users_data.append({'User': user, 'Points': points})
|
| 294 |
|
|
|
|
| 288 |
dataset = load_dataset("Jay-Rajput/DIS_IPL_Leads", split='train')
|
| 289 |
|
| 290 |
users_data = []
|
| 291 |
+
for user, points_dict in dataset[0].items():
|
| 292 |
points = points_dict.get("0", 0)
|
| 293 |
users_data.append({'User': user, 'Points': points})
|
| 294 |
|