Spaces:
Runtime error
Runtime error
Check integrity of the results dataset after (re)start Hugging Face Space
Browse files
server.py
CHANGED
@@ -168,6 +168,8 @@ class LeaderboardServer:
|
|
168 |
|
169 |
self.pre_submit_lock = pre_submit_lock
|
170 |
self.pre_submit = None
|
|
|
|
|
171 |
|
172 |
def update_leaderboard(self):
|
173 |
self.local_leaderboard = snapshot_download(
|
|
|
168 |
|
169 |
self.pre_submit_lock = pre_submit_lock
|
170 |
self.pre_submit = None
|
171 |
+
|
172 |
+
self.results_dataset_integrity_check() # Check integrity of the results dataset after (re)start Hugging Face Space
|
173 |
|
174 |
def update_leaderboard(self):
|
175 |
self.local_leaderboard = snapshot_download(
|