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

This commit is contained in:
Manav Rathi 2024-05-20 20:59:05 +05:30
parent be9f8b8b1d
commit 0877d9c788
No known key found for this signature in database

View file

@ -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();