Disable the download for now
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user