endyaris commited on
Commit
bcf1639
·
verified ·
1 Parent(s): 84256f7

Update fix_cache.py

Browse files
Files changed (1) hide show
  1. fix_cache.py +4 -3
fix_cache.py CHANGED
@@ -1,5 +1,6 @@
1
  from transformers.utils import move_cache
2
 
3
- print("Migrating old cache to the new format...")
4
- move_cache()
5
- print("Cache migration completed successfully.")
 
 
1
  from transformers.utils import move_cache
2
 
3
+ def remove_old_cache():
4
+ print("Migrating old cache to the new format...")
5
+ move_cache()
6
+ print("Cache migration completed successfully.")