argmaxinc / WhisperKit

On-device Speech Recognition for Apple Silicon
http://argmaxinc.com/blog/whisperkit
MIT License
3.89k stars 328 forks source link

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

Closed pradeepb28 closed 7 months ago

pradeepb28 commented 9 months ago

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.

ZachNagengast commented 9 months ago

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

pradeepb28 commented 9 months ago

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

ZachNagengast commented 9 months ago

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 commented 7 months ago

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.