idolezal commited on
Commit
28c74f2
ยท
1 Parent(s): 6b99fcc
Files changed (1) hide show
  1. server.py +1 -0
server.py CHANGED
@@ -94,6 +94,7 @@ class LeaderboardServer:
94
  def get_leaderboard(self, tournament_results=None, category=None):
95
  tournament_results = tournament_results if tournament_results else self.tournament_results
96
  category = category if category else self.tasks_category_overall
 
97
 
98
  if len(tournament_results) == 0:
99
  return pd.DataFrame(columns=['No submissions yet'])
 
94
  def get_leaderboard(self, tournament_results=None, category=None):
95
  tournament_results = tournament_results if tournament_results else self.tournament_results
96
  category = category if category else self.tasks_category_overall
97
+ category = list(self.tasks_categories)[0]
98
 
99
  if len(tournament_results) == 0:
100
  return pd.DataFrame(columns=['No submissions yet'])