Add limits
This commit is contained in:
@@ -397,7 +397,7 @@ const ManageML: React.FC<ManageMLProps> = ({
|
||||
</MenuItemGroup>
|
||||
<MenuSectionTitle
|
||||
title={ut(
|
||||
"Create in-memory clusters from arbitrary 900 photos. Nothing will be saved or synced to remote. You can view the results in search dropdown.",
|
||||
"Create in-memory clusters from arbitrary 2k photos. Nothing will be saved or synced to remote. You can view the results in search dropdown.",
|
||||
)}
|
||||
/>
|
||||
</Box>
|
||||
|
||||
@@ -168,7 +168,7 @@ export const clusterFaces = async (faceIndexes: FaceIndex[]) => {
|
||||
const t = Date.now();
|
||||
|
||||
// A flattened array of faces.
|
||||
const faces = [...enumerateFaces(faceIndexes)].slice(0, 900);
|
||||
const faces = [...enumerateFaces(faceIndexes)].slice(0, 2000);
|
||||
|
||||
// Start with the clusters we already have (either from a previous indexing,
|
||||
// or fetched from remote).
|
||||
|
||||
@@ -330,8 +330,7 @@ export const indexNewUpload = (enteFile: EnteFile, uploadItem: UploadItem) => {
|
||||
* WIP! Don't enable, dragon eggs are hatching here.
|
||||
*/
|
||||
export const wipClusterEnable = async (): Promise<boolean> =>
|
||||
!!process.env.NEXT_PUBLIC_ENTE_WIP_CL &&
|
||||
isDevBuild &&
|
||||
(!!process.env.NEXT_PUBLIC_ENTE_WIP_CL && isDevBuild) ||
|
||||
(await isInternalUser());
|
||||
|
||||
// // TODO-Cluster temporary state here
|
||||
|
||||
Reference in New Issue
Block a user