Spaces:
Running
Running
More informations about progress from `results_dataset_integrity_check()`
Browse files
server.py
CHANGED
|
@@ -268,11 +268,15 @@ class LeaderboardServer:
|
|
| 268 |
with self.var_lock.rw:
|
| 269 |
self.tournament_results = tournament_results
|
| 270 |
|
|
|
|
| 271 |
if self.tournament_results:
|
| 272 |
self._upload_tournament_results(self.tournament_results)
|
|
|
|
| 273 |
break
|
| 274 |
gr.Info("Waiting in queue...", duration=5)
|
| 275 |
time.sleep(10)
|
|
|
|
|
|
|
| 276 |
|
| 277 |
@staticmethod
|
| 278 |
def _model_tournament_table_highlight_true_and_false(x):
|
|
|
|
| 268 |
with self.var_lock.rw:
|
| 269 |
self.tournament_results = tournament_results
|
| 270 |
|
| 271 |
+
gr.Info('Uploading tournament results...', duration=5)
|
| 272 |
if self.tournament_results:
|
| 273 |
self._upload_tournament_results(self.tournament_results)
|
| 274 |
+
|
| 275 |
break
|
| 276 |
gr.Info("Waiting in queue...", duration=5)
|
| 277 |
time.sleep(10)
|
| 278 |
+
|
| 279 |
+
gr.Info('Integrity of the results dataset is checked', duration=5)
|
| 280 |
|
| 281 |
@staticmethod
|
| 282 |
def _model_tournament_table_highlight_true_and_false(x):
|