Skip to content

armgit / ente

Public Imported from GitHub
0

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

Disable the download for now

Manav Rathi074e86788669
diff --git a/web/apps/photos/src/pages/gallery/index.tsx b/web/apps/photos/src/pages/gallery/index.tsx
index 4a3fbe9b52..d375e48fc8 100644
--- a/web/apps/photos/src/pages/gallery/index.tsx
+++ b/web/apps/photos/src/pages/gallery/index.tsx
@@ -85,10 +85,7 @@ import {
getSectionSummaries,
} from "services/collectionService";
import downloadManager from "services/download";
-import {
- syncCLIPEmbeddings,
- syncFaceEmbeddings,
-} from "services/embeddingService";
+import { syncCLIPEmbeddings } from "services/embeddingService";
import { syncEntities } from "services/entityService";
import { getLocalFiles, syncFiles } from "services/fileService";
import locationSearchService from "services/locationSearchService";
@@ -130,7 +127,6 @@ import {
} from "utils/file";
import { isArchivedFile } from "utils/magicMetadata";
import { getSessionExpiredMessage } from "utils/ui";
-import { isInternalUserForML } from "utils/user";
import { getLocalFamilyData } from "utils/user/family";
export const DeadCenter = styled("div")`
@@ -720,7 +716,9 @@ export default function Gallery() {
const electron = globalThis.electron;
if (electron) {
await syncCLIPEmbeddings();
- if (isInternalUserForML()) await syncFaceEmbeddings();
+ // TODO-ML(MR): Disable fetch until we start storing it in the
+ // same place as the local ones.
+ // if (isInternalUserForML()) await syncFaceEmbeddings();
}
if (clipService.isPlatformSupported()) {
void clipService.scheduleImageEmbeddingExtraction();