prevent stale files from accumulating on HF during uploads.
This commit is contained in:
parent
9beaf0d4ed
commit
4f16714430
1 changed files with 1 additions and 0 deletions
|
|
@ -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]")
|
||||
|
|
|
|||
Loading…
Reference in a new issue