Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Prune

Manav Rathi25ced9ce9d3d
diff --git a/web/apps/photos/src/services/machineLearning/machineLearningService.ts b/web/apps/photos/src/services/machineLearning/machineLearningService.ts
index c57866f162..57b2c06a0b 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();