WhisperKit icon indicating copy to clipboard operation
WhisperKit copied to clipboard

Feature request: In example, provide delete and re-download options

Open pradeepb28 opened this issue 1 year ago • 3 comments

Models are taking really good time to download. If the WiFI is OFF for a second it gets struck - it would be great if the example has two more options - Delete and Retry.

pradeepb28 avatar Feb 03 '24 04:02 pradeepb28

Hi @pradeepb28 can you elaborate a bit on what retry would entail? Would that be similar to "Cancel"?

ZachNagengast avatar Feb 06 '24 05:02 ZachNagengast

Retry is like cancel the current download that was struck, delete the partially downloaded model from the folder and start re-downloading. @ZachNagengast

pradeepb28 avatar Feb 06 '24 05:02 pradeepb28

Understood, that makes sense. Putting this on the roadmap, but would make a great contribution from the community if anyone reading this is interested!

ZachNagengast avatar Feb 06 '24 05:02 ZachNagengast

this is more or less implemented with #54, regarding the redownload part, the example app now checks for partially downloaded models and redownloads them if it is unable to load the models, so redownloading should be much less necessary. Cancelling a download is still a needed feature though, which swift-transformers will support.

ZachNagengast avatar Mar 28 '24 22:03 ZachNagengast