CheckpointCleanup-Release / .python_tmp /fd472c2c-f768-4a45-8350-a0501c60deca.py
FuryAssassin's picture
Upload folder using huggingface_hub
f09153a verified
from pathlib import Path
p=Path('hf_token.txt')
if p.exists():
p.unlink()
print('Removed hf_token.txt from workspace before upload (will add via API token).')
else:
print('hf_token.txt not found')