Private
Release the memory of the model, it will be unusable after this. It's safe to call this multiple times, but it will only free the model once.
Static
Load a model from a whisper weights file.
The path to the whisper weights file.
Optional
Whether to use the GPU or not.
A promise that resolves to a WhisperModel.
Release the memory of the model, it will be unusable after this. It's safe to call this multiple times, but it will only free the model once.