Spaces:
Running
Running
More info about tournament progress
Browse files
server.py
CHANGED
|
@@ -292,8 +292,8 @@ class LeaderboardServer:
|
|
| 292 |
new_tournament[competitor_id][new_submission_id] = {
|
| 293 |
task: data["significant"] for task, data in result_inverse.items()
|
| 294 |
}
|
| 295 |
-
|
| 296 |
-
|
| 297 |
|
| 298 |
return new_tournament
|
| 299 |
|
|
|
|
| 292 |
new_tournament[competitor_id][new_submission_id] = {
|
| 293 |
task: data["significant"] for task, data in result_inverse.items()
|
| 294 |
}
|
| 295 |
+
|
| 296 |
+
gr.Info(f"Tournament: {(num_of_competitors - len(rest_of_competitors)) * 100 // num_of_competitors}% is done")
|
| 297 |
|
| 298 |
return new_tournament
|
| 299 |
|