π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Use via worker
Manav Rathi358f741d7d95
diff --git a/web/packages/new/photos/services/ml/index.ts b/web/packages/new/photos/services/ml/index.tsindex c19f32abe0..f3469a7dd0 100644--- a/web/packages/new/photos/services/ml/index.ts+++ b/web/packages/new/photos/services/ml/index.ts@@ -794,5 +794,5 @@ export const deleteCGroup = async ({ id }: CGroup) => {** The suggestion computation happens in a web worker.*/-export const suggestionsForPerson = async (person: CGroupPerson) =>- worker().then((w) => w.suggestionsForPerson(person));+export const suggestionsAndChoicesForPerson = async (person: CGroupPerson) =>+ worker().then((w) => w.suggestionsAndChoicesForPerson(person));diff --git a/web/packages/new/photos/services/ml/worker.ts b/web/packages/new/photos/services/ml/worker.tsindex 906a7a2771..5507c0875b 100644--- a/web/packages/new/photos/services/ml/worker.ts+++ b/web/packages/new/photos/services/ml/worker.ts@@ -44,7 +44,7 @@ import {type RawRemoteMLData,type RemoteMLData,} from "./ml-data";-import { suggestionsForPerson, type CGroupPerson } from "./people";+import { suggestionsAndChoicesForPerson, type CGroupPerson } from "./people";import type { CLIPMatches, MLWorkerDelegate } from "./worker-types";/**@@ -341,10 +341,10 @@ export class MLWorker {}/**- * Return suggestions for the given cgroup {@link person}.+ * Return suggestions and choices for the given cgroup {@link person}.*/- async suggestionsForPerson(person: CGroupPerson) {- return suggestionsForPerson(person);+ async suggestionsAndChoicesForPerson(person: CGroupPerson) {+ return suggestionsAndChoicesForPerson(person);}}