Delete Single File from huggingface?

I have been using remote upload to upload files onto the website.

How do I delete a single file from huggingface or a single folder from my repository on huggingface?

Github has this feature, not sure why/how huggingface doesn’t have this feature < This comment provides site feedback.

1 Like

Hi, you can use the delete_file or delete_folder function from the huggingface_hub library to programmatically delete a file or folder.

Or if you prefer, you can delete it directly from the Hub UI: