From 4b1f7612a3f6aac2bbaaa4979bf37a1c23d2a6ca Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Tue, 17 Jun 2025 14:15:40 +0530 Subject: [PATCH] Rename --- mobile/lib/utils/ml_util.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mobile/lib/utils/ml_util.dart b/mobile/lib/utils/ml_util.dart index 7d6b02fb87..a0d268d776 100644 --- a/mobile/lib/utils/ml_util.dart +++ b/mobile/lib/utils/ml_util.dart @@ -194,7 +194,7 @@ Future> getOfflineFilesForMlIndexing() async { // Get all regular files and all hidden files final enteFiles = await SearchService.instance.getAllFilesForSearch(); - final List hiddenFilesToIndex = []; + final List fileMLInstructions = []; for (final EnteFile enteFile in enteFiles) { if (enteFile.localID == null) { continue; @@ -217,12 +217,12 @@ Future> getOfflineFilesForMlIndexing() async { shouldRunFaces: shouldRunFaces, shouldRunClip: shouldRunClip, ); - hiddenFilesToIndex.add(instruction); + fileMLInstructions.add(instruction); } _logger.info( - "Getting list of ${hiddenFilesToIndex.length} offline files to index for ML took ${DateTime.now().difference(time).inMilliseconds} ms", + "Getting list of ${fileMLInstructions.length} offline files to index for ML took ${DateTime.now().difference(time).inMilliseconds} ms", ); - return hiddenFilesToIndex; + return fileMLInstructions; } Stream> fetchEmbeddingsAndInstructions(