diff --git a/web/apps/photos/src/services/machineLearning/machineLearningService.ts b/web/apps/photos/src/services/machineLearning/machineLearningService.ts index c57866f16..57b2c06a0 100644 --- a/web/apps/photos/src/services/machineLearning/machineLearningService.ts +++ b/web/apps/photos/src/services/machineLearning/machineLearningService.ts @@ -23,7 +23,6 @@ import { EnteFile } from "types/file"; import { isInternalUserForML } from "utils/user"; import { regenerateFaceCrop, syncFileAnalyzeFaces } from "../face/f-index"; import { fetchImageBitmapForContext } from "../face/image"; -import { syncPeopleIndex } from "../face/people"; /** * TODO-ML(MR): What and why. @@ -466,17 +465,6 @@ class MachineLearningService { console.error("Error while storing ml sync error", e); } } - - private async getMLLibraryData(syncContext: MLSyncContext) { - syncContext.mlLibraryData = await mlIDbStorage.getLibraryData(); - if (!syncContext.mlLibraryData) { - syncContext.mlLibraryData = {}; - } - } - - private async persistMLLibraryData(syncContext: MLSyncContext) { - return mlIDbStorage.putLibraryData(syncContext.mlLibraryData); - } } export default new MachineLearningService();