[web] Don't sync CLIP emeddings in the web app
This commit is contained in:
parent
be9f8b8b1d
commit
0877d9c788
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue