Spaces:
Runtime error
Runtime error
Ensure the leaderboard is up-to-date before the tournament started
Browse files
server.py
CHANGED
@@ -378,6 +378,7 @@ class LeaderboardServer:
|
|
378 |
with self.pre_submit_lock:
|
379 |
if self.pre_submit == None:
|
380 |
gr.Info('Running tournament...', duration=15)
|
|
|
381 |
tournament_results = self.start_tournament(submission_id, file)
|
382 |
self.pre_submit = self.PreSubmit(tournament_results, submission_id, file)
|
383 |
break
|
|
|
378 |
with self.pre_submit_lock:
|
379 |
if self.pre_submit == None:
|
380 |
gr.Info('Running tournament...', duration=15)
|
381 |
+
self.update_leaderboard()
|
382 |
tournament_results = self.start_tournament(submission_id, file)
|
383 |
self.pre_submit = self.PreSubmit(tournament_results, submission_id, file)
|
384 |
break
|