Skip to content

Commit 7f25cce

Browse files
authored
Do not use deprecated list_files_info (#133)
1 parent e941a55 commit 7f25cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lighteval/logging/evaluation_tracker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def details_to_hub(
259259

260260
paths_to_check = [os.path.basename(results_file_path)]
261261
try:
262-
checked_paths = list(self.api.list_files_info(repo_id=repo_id, paths=paths_to_check, repo_type="dataset"))
262+
checked_paths = list(self.api.get_paths_info(repo_id=repo_id, paths=paths_to_check, repo_type="dataset"))
263263
except Exception:
264264
checked_paths = []
265265

0 commit comments

Comments
 (0)