Neeraj Gupta пре 1 година
родитељ
комит
6c02b03426

+ 3 - 1
mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart

@@ -326,7 +326,9 @@ class ClusterFeedbackService {
   }
   }
 
 
   Future<void> removeFilesFromPerson(
   Future<void> removeFilesFromPerson(
-      List<EnteFile> files, PersonEntity p) async {
+    List<EnteFile> files,
+    PersonEntity p,
+  ) async {
     await FaceMLDataDB.instance.removeFilesFromPerson(files, p.remoteID);
     await FaceMLDataDB.instance.removeFilesFromPerson(files, p.remoteID);
     Bus.instance.fire(PeopleChangedEvent());
     Bus.instance.fire(PeopleChangedEvent());
   }
   }

+ 2 - 1
mobile/lib/services/search_service.dart

@@ -821,7 +821,8 @@ class SearchService {
 
 
         if (clusterIDToPersonID[clusterId] != null) {
         if (clusterIDToPersonID[clusterId] != null) {
           throw Exception(
           throw Exception(
-              "Cluster $clusterId should not have person id ${clusterIDToPersonID[clusterId]}");
+            "Cluster $clusterId should not have person id ${clusterIDToPersonID[clusterId]}",
+          );
         }
         }
         if (files.length < 3 && sortedClusterIds.length > 3) {
         if (files.length < 3 && sortedClusterIds.length > 3) {
           continue;
           continue;