Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -366,10 +366,10 @@ if __name__ == "__main__":
|
|
366 |
parser.add_argument("--share", action="store_true")
|
367 |
args = parser.parse_args()
|
368 |
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
result_file = None
|
373 |
|
374 |
|
375 |
leaderboard_table_files = glob.glob("leaderboard_table_*.csv")
|
|
|
366 |
parser.add_argument("--share", action="store_true")
|
367 |
args = parser.parse_args()
|
368 |
|
369 |
+
result_files = glob.glob("results_*.pkl")
|
370 |
+
result_files.sort(key=lambda x: int(x[12:-4]))
|
371 |
+
result_file = result_files[-1]
|
372 |
+
# result_file = None
|
373 |
|
374 |
|
375 |
leaderboard_table_files = glob.glob("leaderboard_table_*.csv")
|