Delete Model (Generative Models)
Synopsis
Deletes a model directoryDescription
Deletes a model directory and all its contents. This can not be reverted. Using this model can be especially useful when using temporary model directories in order to clean up model folders. Please note that downloaded models will be cached by Huggingface which means that a new download just copies the downloaded model into a new directory and this deletion operation can clean up afterwards why the model stays in the download cache.Input
- model (File)
The model directory in your project or file system.
Tutorial Processes
Downloads a model and deletes it
This process simply downloads a model from Huggingface and stores it in a temporary directory. It will then be deleted afterwards.