removeWhisperModel()v4.0.523
Removes a Whisper model from memory and the persistent browser cache.
If the model is still loading or transcribing, removal waits for the operation to finish.
remove-model.tsimport {removeWhisperModel } from '@remotion/whisper-webgpu'; awaitremoveWhisperModel ({model : 'small.en'});
Options
model
One of the names returned by getAvailableModels().
Compatibility
| Browsers | Environments | |||||
|---|---|---|---|---|---|---|
Chrome | Firefox | Safari | ||||