[mob] Wait till indexing for downloading models
This commit is contained in:
committed by
Neeraj Gupta
parent
774a73bbf3
commit
f149634311
@@ -74,9 +74,6 @@ class MLService {
|
||||
// Activate FaceRecognitionService
|
||||
await FaceRecognitionService.instance.init();
|
||||
|
||||
// Download models if not already downloaded
|
||||
unawaited(_ensureDownloadedModels(firstTime));
|
||||
|
||||
// Listen on MachineLearningController
|
||||
Bus.instance.on<MachineLearningControlEvent>().listen((event) {
|
||||
if (localSettings.isMLIndexingEnabled == false) {
|
||||
|
||||
Reference in New Issue
Block a user