We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 497d667 commit 8f9f1efCopy full SHA for 8f9f1ef
src/transformers/utils/hub.py
@@ -712,7 +712,6 @@ def _upload_modified_files(
712
operations = []
713
# upload standalone files
714
for file in modified_files:
715
- operations.append(CommitOperationAdd(path_or_fileobj=os.path.join(working_dir, file), path_in_repo=file))
716
if os.path.isdir(os.path.join(working_dir, file)):
717
# go over individual files of folder
718
for f in os.listdir(os.path.join(working_dir, file)):
0 commit comments