Skip to content

armgit / ente

Public Imported from GitHub
0

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

Write pet dummy entry even when Rust ML is disabled

Amrithesh Kakkoth Ente343ac0549077
diff --git a/mobile/apps/photos/lib/services/machine_learning/ml_service.dart b/mobile/apps/photos/lib/services/machine_learning/ml_service.dart
index 113c8d04f5..e7ff07bc48 100644
--- a/mobile/apps/photos/lib/services/machine_learning/ml_service.dart
+++ b/mobile/apps/photos/lib/services/machine_learning/ml_service.dart
@@ -685,7 +685,7 @@ class MLService {
);
}
}
- if (instruction.shouldRunPets && rustPets) {
+ if (instruction.shouldRunPets) {
final hasPetFaces =
result.petFaces != null && result.petFaces!.isNotEmpty;
if (!hasPetFaces) {