address cr

This commit is contained in:
Yingda Chen
2025-01-15 13:14:29 +08:00
parent 2e1b2e3587
commit 08c2125f8e

View File

@@ -1450,8 +1450,8 @@ class HubApi:
sha256=file_hash,
size=file_size,
data=file_path,
disable_tqdm=False if file_size > 10 * 1024 * 1024 else True,
tqdm_desc='[Uploading ' + file_path_in_repo + ' ]',
disable_tqdm=False if file_size > 5 * 1024 * 1024 else True,
tqdm_desc='[Uploading ' + file_path_in_repo + ']',
)
return {