Spaces:
Runtime error
Runtime error
Fix progress info
Browse files
server.py
CHANGED
@@ -309,7 +309,8 @@ class LeaderboardServer:
|
|
309 |
task: data["significant"] for task, data in result_inverse.items()
|
310 |
}
|
311 |
|
312 |
-
|
|
|
313 |
|
314 |
return new_tournament
|
315 |
|
|
|
309 |
task: data["significant"] for task, data in result_inverse.items()
|
310 |
}
|
311 |
|
312 |
+
num_of_competitors_done = num_of_competitors - len(next_competitors) - len(rest_of_competitors)
|
313 |
+
gr.Info(f"Tournament: {num_of_competitors_done}/{num_of_competitors} = {(num_of_competitors_done) * 100 // num_of_competitors}% is done")
|
314 |
|
315 |
return new_tournament
|
316 |
|