Fix
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user