From 9a795ee51554886c41bcebe3548e86b925af4359 Mon Sep 17 00:00:00 2001 From: "mulin.lyh" Date: Thu, 22 Feb 2024 15:41:57 +0800 Subject: [PATCH] remove MINIMUM_DOWNLOAD_INTERVAL_SECONDS --- modelscope/hub/snapshot_download.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modelscope/hub/snapshot_download.py b/modelscope/hub/snapshot_download.py index 8220259e7..7000b850d 100644 --- a/modelscope/hub/snapshot_download.py +++ b/modelscope/hub/snapshot_download.py @@ -10,8 +10,7 @@ from modelscope.hub.api import HubApi, ModelScopeConfig from modelscope.utils.constant import DEFAULT_MODEL_REVISION from modelscope.utils.logger import get_logger -from .constants import (FILE_HASH, MINIMUM_DOWNLOAD_INTERVAL_SECONDS, - MODELSCOPE_DOWNLOAD_PARALLELS, +from .constants import (FILE_HASH, MODELSCOPE_DOWNLOAD_PARALLELS, MODELSCOPE_PARALLEL_DOWNLOAD_THRESHOLD_MB) from .file_download import (get_file_download_url, http_get_file, parallel_download)