Removes cached model files from IndexedDB storage. This forces
models to be re-downloaded on next use, which can help with
corrupted cache or when you want to ensure you have the latest models.
Returns Promise<void>
Example
// Clear all cached models awaitclearModelCache();
// Next session creation will re-download models constsession = awaitnewSession('u2net');
Clear all cached models from IndexedDB.
Removes cached model files from IndexedDB storage. This forces models to be re-downloaded on next use, which can help with corrupted cache or when you want to ensure you have the latest models.