π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
More docs
Manav Rathiaf07de58f67c
diff --git a/desktop/src/services/clipService.ts b/desktop/src/services/clipService.tsindex 32d4049122..cb41ae32ee 100644--- a/desktop/src/services/clipService.ts+++ b/desktop/src/services/clipService.ts@@ -1,3 +1,14 @@+/**+ * @file Compute CLIP embeddings+ *+ * @see `web/apps/photos/services/clip-service.ts` for more details. This file+ * implements the Node.js implementation of the actual embedding computation. By+ * doing it in the Node.js layer, we can use the binary ONNX runtimes which are+ * 10-20x faster than the WASM based web ones.+ *+ * The embeddings are computed using ONNX runtime. The model itself is not+ * shipped with the app but is downloaded on demand.+ */import { app, net } from "electron/main";import { existsSync } from "fs";import fs from "node:fs/promises";