mirror of
https://github.com/modelscope/modelscope.git
synced 2026-02-24 12:10:09 +01:00
add file name
This commit is contained in:
@@ -1451,6 +1451,7 @@ class HubApi:
|
||||
size=file_size,
|
||||
data=file_path,
|
||||
disable_tqdm=False if file_size > 10 * 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,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user