Skip to content

armgit / ente

Public Imported from GitHub
0

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

Merge branch 'main' into clip

Abhinavc9bc69f35453
diff --cc apps/photos/src/pages/gallery/index.tsx
index a513a3cb19,29d275eeb0..f546cebebc
--- a/apps/photos/src/pages/gallery/index.tsx
+++ b/apps/photos/src/pages/gallery/index.tsx
@@@ -712,13 -692,9 +712,13 @@@ export default function Gallery()
await syncTrash(collections, setTrashedFiles);
await syncEntities();
await syncMapEnabled();
+ if (await ClipService.isClipSupported()) {
+ await syncEmbeddings();
+ void ClipService.scheduleImageEmbeddingExtraction();
+ }
} catch (e) {
switch (e.message) {
- case ServerErrorCodes.SESSION_EXPIRED:
+ case CustomError.SESSION_EXPIRED:
showSessionExpiredMessage();
break;
case CustomError.KEY_MISSING: