Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Merge pull request #19 from leaderboard-modeles-IA-francais/fix/filter
Browse files
backend/app/services/leaderboard.py
CHANGED
@@ -268,7 +268,7 @@ class LeaderboardService:
|
|
268 |
|
269 |
for root, _, files in os.walk(results_path):
|
270 |
#FIXME We will remove this check when results we be homogeneous
|
271 |
-
folderName = "clearML-
|
272 |
normalized_root = os.path.normpath(root)
|
273 |
path_components = normalized_root.split(os.sep)
|
274 |
if folderName in path_components:
|
@@ -488,4 +488,4 @@ class LeaderboardService:
|
|
488 |
|
489 |
except Exception as e:
|
490 |
logger.error(LogFormatter.error(f"Failed to transform data for {data.full_model}", e))
|
491 |
-
raise
|
|
|
268 |
|
269 |
for root, _, files in os.walk(results_path):
|
270 |
#FIXME We will remove this check when results we be homogeneous
|
271 |
+
folderName = "clearML-sprint1-wr"
|
272 |
normalized_root = os.path.normpath(root)
|
273 |
path_components = normalized_root.split(os.sep)
|
274 |
if folderName in path_components:
|
|
|
488 |
|
489 |
except Exception as e:
|
490 |
logger.error(LogFormatter.error(f"Failed to transform data for {data.full_model}", e))
|
491 |
+
raise
|