Skip to content

armgit / ente

Public Imported from GitHub
0

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

[web] Don't sync CLIP emeddings in the web app

Manav Rathi0877d9c7888d
diff --git a/web/apps/photos/src/pages/gallery/index.tsx b/web/apps/photos/src/pages/gallery/index.tsx
index 9ade12fc5e..cb0ae1bf15 100644
--- a/web/apps/photos/src/pages/gallery/index.tsx
+++ b/web/apps/photos/src/pages/gallery/index.tsx
@@ -717,10 +717,10 @@ export default function Gallery() {
await syncTrash(collections, setTrashedFiles);
await syncEntities();
await syncMapEnabled();
- await syncCLIPEmbeddings();
const electron = globalThis.electron;
- if (isInternalUserForML() && electron) {
- await syncFaceEmbeddings();
+ if (electron) {
+ await syncCLIPEmbeddings();
+ if (isInternalUserForML()) await syncFaceEmbeddings();
}
if (clipService.isPlatformSupported()) {
void clipService.scheduleImageEmbeddingExtraction();