Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
56a55d3c
Commit
56a55d3c
authored
Aug 05, 2022
by
Sylvain Gugger
Browse files
Forgot one new_ for cache migration
parent
9d64f7f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/utils/hub.py
src/transformers/utils/hub.py
+1
-1
No files found.
src/transformers/utils/hub.py
View file @
56a55d3c
...
...
@@ -1514,7 +1514,7 @@ def move_cache(cache_dir=None, new_cache_dir=None, token=None):
# Not a file from huggingface.co
continue
repo
=
os
.
path
.
join
(
cache_dir
,
url_info
[
"repo"
])
repo
=
os
.
path
.
join
(
new_
cache_dir
,
url_info
[
"repo"
])
move_to_new_cache
(
file
=
os
.
path
.
join
(
cache_dir
,
file_info
[
"file"
]),
repo
=
repo
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment