diff --git a/invokeai/app/services/model_manager/model_manager_base.py b/invokeai/app/services/model_manager/model_manager_base.py index 938e14adcb..6e886df652 100644 --- a/invokeai/app/services/model_manager/model_manager_base.py +++ b/invokeai/app/services/model_manager/model_manager_base.py @@ -1,10 +1,9 @@ # Copyright (c) 2023 Lincoln D. Stein and the InvokeAI Team -import torch - from abc import ABC, abstractmethod from typing import Optional +import torch from typing_extensions import Self from invokeai.app.services.invoker import Invoker @@ -18,7 +17,6 @@ from ..events.events_base import EventServiceBase from ..model_install import ModelInstallServiceBase from ..model_load import ModelLoadServiceBase from ..model_records import ModelRecordServiceBase -from ..shared.sqlite.sqlite_database import SqliteDatabase class ModelManagerServiceBase(ABC): diff --git a/invokeai/app/services/model_manager/model_manager_default.py b/invokeai/app/services/model_manager/model_manager_default.py index 2276111586..7d4b248323 100644 --- a/invokeai/app/services/model_manager/model_manager_default.py +++ b/invokeai/app/services/model_manager/model_manager_default.py @@ -1,10 +1,9 @@ # Copyright (c) 2023 Lincoln D. Stein and the InvokeAI Team """Implementation of ModelManagerServiceBase.""" -import torch - from typing import Optional +import torch from typing_extensions import Self from invokeai.app.services.invoker import Invoker