From 369ff7833c8b127c8215762cf5da0dfa4de6c0e4 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Tue, 2 Jul 2024 13:32:10 +0530 Subject: [PATCH] Fix --- web/packages/new/photos/services/embedding.ts | 4 ++-- web/packages/new/photos/services/ml/types.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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).