From 044f9236f5cb655fd956cf7d94944759da37b6af Mon Sep 17 00:00:00 2001 From: "mulin.lyh" Date: Fri, 12 Jul 2024 16:38:59 +0800 Subject: [PATCH] remove debug code --- modelscope/hub/snapshot_download.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modelscope/hub/snapshot_download.py b/modelscope/hub/snapshot_download.py index a0947394..f4f07366 100644 --- a/modelscope/hub/snapshot_download.py +++ b/modelscope/hub/snapshot_download.py @@ -258,7 +258,6 @@ def _snapshot_download( ] for repo_file in repo_files: - print(repo_file) if repo_file['Type'] == 'tree' or \ any([fnmatch.fnmatch(repo_file['Path'], pattern) for pattern in ignore_file_pattern]) or \ any([re.search(pattern, repo_file['Name']) is not None for pattern in ignore_regex_pattern]): # noqa E501