| import shutil, os | |
| paths = [ | |
| "/home/user/.cache", | |
| "/tmp", | |
| "/home/user/.local/share/huggingface" | |
| ] | |
| for p in paths: | |
| if os.path.exists(p): | |
| shutil.rmtree(p, ignore_errors=True) | |
| print("Deleted:", p) | |
| import shutil, os | |
| paths = [ | |
| "/home/user/.cache", | |
| "/tmp", | |
| "/home/user/.local/share/huggingface" | |
| ] | |
| for p in paths: | |
| if os.path.exists(p): | |
| shutil.rmtree(p, ignore_errors=True) | |
| print("Deleted:", p) | |