Spaces:
Running
Running
Try
Browse files
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'])
|