diff --git a/modelscope/hub/api.py b/modelscope/hub/api.py index 67241b68..e6160492 100644 --- a/modelscope/hub/api.py +++ b/modelscope/hub/api.py @@ -1450,7 +1450,8 @@ class HubApi: sha256=file_hash, size=file_size, data=file_path, - disable_tqdm=False if file_size > 10 * 1024 * 1024 else True, + disable_tqdm=False if file_size > 5 * 1024 * 1024 else True, + tqdm_desc='[Uploading ' + file_path_in_repo + ']', ) return { @@ -1467,7 +1468,6 @@ class HubApi: commit_message=commit_message, commit_description=commit_description, buffer_size_mb=1, - tqdm_desc='[Uploading]', disable_tqdm=False, )