Commit 56a55d3c authored by Sylvain Gugger's avatar Sylvain Gugger
Browse files

Forgot one new_ for cache migration

parent 9d64f7f0
...@@ -1514,7 +1514,7 @@ def move_cache(cache_dir=None, new_cache_dir=None, token=None): ...@@ -1514,7 +1514,7 @@ def move_cache(cache_dir=None, new_cache_dir=None, token=None):
# Not a file from huggingface.co # Not a file from huggingface.co
continue continue
repo = os.path.join(cache_dir, url_info["repo"]) repo = os.path.join(new_cache_dir, url_info["repo"])
move_to_new_cache( move_to_new_cache(
file=os.path.join(cache_dir, file_info["file"]), file=os.path.join(cache_dir, file_info["file"]),
repo=repo, repo=repo,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment