Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix

Manav Rathi369ff7833c8b
diff --git a/web/packages/new/photos/services/embedding.ts b/web/packages/new/photos/services/embedding.ts
index be574d4ac3..93b20a3c34 100644
--- a/web/packages/new/photos/services/embedding.ts
+++ b/web/packages/new/photos/services/embedding.ts
@@ -5,9 +5,9 @@ import log from "@/next/log";
import { apiURL } from "@/next/origins";
import { z } from "zod";
import { decryptFileMetadata } from "../../common/crypto/ente";
-import { saveFaceIndex } from "./face/db";
-import { faceIndexingVersion, type FaceIndex } from "./face/types";
import { getAllLocalFiles } from "./files";
+import { saveFaceIndex } from "./ml/db";
+import { faceIndexingVersion, type FaceIndex } from "./ml/types";
/**
* The embeddings that we (the current client) knows how to handle.
diff --git a/web/packages/new/photos/services/ml/types.ts b/web/packages/new/photos/services/ml/types.ts
index 44c78cc838..7ad0919124 100644
--- a/web/packages/new/photos/services/ml/types.ts
+++ b/web/packages/new/photos/services/ml/types.ts
@@ -11,7 +11,7 @@ export const faceIndexingVersion = 1;
* - Local face detections and embeddings (collectively called as the face
* index) are generated by the current client when uploading a file (or when
* noticing a file which doesn't yet have a face index), stored in the local
- * IndexedDB ("face/db") and also uploaded (E2EE) to remote.
+ * IndexedDB ("ml/db") and also uploaded (E2EE) to remote.
*
* - Remote embeddings are fetched by subsequent clients to avoid them having to
* reindex (indexing faces is a costly operation, esp for mobile clients).