Add bulk delete endpoint for checkpoints and enhance ModelDuplicatesManager for better handling of model types

This commit is contained in:
Will Miao
2025-06-02 08:54:31 +08:00
parent 26f9779fbf
commit 7545312229
5 changed files with 41 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ class CheckpointsPageManager {
window.checkpointDownloadManager = new CheckpointDownloadManager();
// Initialize the ModelDuplicatesManager
this.duplicatesManager = new ModelDuplicatesManager(this);
this.duplicatesManager = new ModelDuplicatesManager(this, 'checkpoints');
// Expose only necessary functions to global scope
this._exposeRequiredGlobalFunctions();