Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob] Always allow running ML on iOS Sim

Neeraj Gupta0a3c61515f0f
diff --git a/mobile/lib/services/machine_learning/ml_service.dart b/mobile/lib/services/machine_learning/ml_service.dart
index fb2d9c1251..8f3bf3f1b5 100644
--- a/mobile/lib/services/machine_learning/ml_service.dart
+++ b/mobile/lib/services/machine_learning/ml_service.dart
@@ -855,6 +855,9 @@ class MLService {
}
bool _cannotRunMLFunction({String function = ""}) {
+ if (kDebugMode && Platform.isIOS) {
+ return false;
+ }
if (_isIndexingOrClusteringRunning) {
_logger.info(
"Cannot run $function because indexing or clustering is already running",