[mob][photos] Remove restriction for ML for F-Droid
This commit is contained in:
parent
b100f1d4bf
commit
b2e8c3c0eb
1 changed files with 6 additions and 8 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue