prevent stale files from accumulating on HF during uploads.

This commit is contained in:
Yiorgis Gozadinos 2026-04-16 13:45:24 +03:00
parent 9beaf0d4ed
commit 4f16714430
No known key found for this signature in database

View file

@ -615,6 +615,7 @@ def upload(
path_in_repo=spec.db_filename,
repo_id=HF_REPO_ID,
repo_type="dataset",
delete_patterns="*",
)
console.print(f"[green]Uploaded {spec.key} to {HF_REPO_ID}[/green]")