[mob][photos] Remove restriction for ML for F-Droid

This commit is contained in:
laurenspriem 2024-05-27 11:51:20 +05:30
parent b100f1d4bf
commit b2e8c3c0eb

View file

@ -238,7 +238,6 @@ Future<void> _init(bool isBackground, {String via = ''}) async {
// Can not including existing tf/ml binaries as they are not being built
// from source.
// See https://gitlab.com/fdroid/fdroiddata/-/merge_requests/12671#note_1294346819
if (!UpdateService.instance.isFdroidFlavor()) {
// unawaited(ObjectDetectionService.instance.init());
if (flagService.faceSearchEnabled) {
unawaited(FaceMlService.instance.init());
@ -247,7 +246,6 @@ Future<void> _init(bool isBackground, {String via = ''}) async {
unawaited(LocalSettings.instance.toggleFaceIndexing());
}
}
}
PersonService.init(
EntityService.instance,
FaceMLDataDB.instance,