Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob] Remove unused method

Neeraj Guptac31f573f1ad4
diff --git a/mobile/lib/services/machine_learning/semantic_search/semantic_search_service.dart b/mobile/lib/services/machine_learning/semantic_search/semantic_search_service.dart
index cf1626bc0c..740f84f342 100644
--- a/mobile/lib/services/machine_learning/semantic_search/semantic_search_service.dart
+++ b/mobile/lib/services/machine_learning/semantic_search/semantic_search_service.dart
@@ -98,11 +98,6 @@ class SemanticSearchService {
_cachedImageEmbeddings.isNotEmpty;
}
- bool bothClipModelsLoaded() {
- return ClipImageEncoder.instance.isInitialized &&
- ClipTextEncoder.instance.isInitialized;
- }
-
// searchScreenQuery should only be used for the user initiate query on the search screen.
// If there are multiple call tho this method, then for all the calls, the result will be the same as the last query.
Future<(String, List<EnteFile>)> searchScreenQuery(String query) async {