diff --git a/invokeai/backend/model_manager/search.py b/invokeai/backend/model_manager/search.py index 4bfaa6ce7d..330cff4e08 100644 --- a/invokeai/backend/model_manager/search.py +++ b/invokeai/backend/model_manager/search.py @@ -141,7 +141,7 @@ class ModelSearch(ModelSearchBase): self._directory = self.config.models_path / self._directory self.stats = SearchStats() # zero out self.search_started() # This will initialize _models_found to empty - self._walk_directory(directory) + self._walk_directory(self._directory) self.search_completed() return self.models_found