Spaces:
Running on CPU Upgrade

lunarflu HF staff commited on
Commit
6089095
·
verified ·
1 Parent(s): 421ed41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -240,8 +240,9 @@ async def update_leaderboard(ctx):
240
  # levels first
241
  header = levels_list[0]
242
  levels_list = levels_list[1:]
 
243
 
244
- #levels_list = list(map(int, levels_list))
245
  sorted_levels = sorted(enumerate(levels_list, start=1), key=lambda x: x[1], reverse=True)
246
  top_10_levels = sorted_levels[:10]
247
  print(top_10_levels)
 
240
  # levels first
241
  header = levels_list[0]
242
  levels_list = levels_list[1:]
243
+ print(levels_list)
244
 
245
+ levels_list = list(map(int, levels_list))
246
  sorted_levels = sorted(enumerate(levels_list, start=1), key=lambda x: x[1], reverse=True)
247
  top_10_levels = sorted_levels[:10]
248
  print(top_10_levels)