mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(nodes): wip image storage implementation
This commit is contained in:
committed by
Kent Keirsey
parent
d4aa79acd7
commit
1b75d899ae
@ -1,8 +1,8 @@
|
||||
# Copyright (c) 2022 Kyle Schouviller (https://github.com/kyle0654) and the InvokeAI Team
|
||||
|
||||
from types import ModuleType
|
||||
from invokeai.app.services.image_db import (
|
||||
ImageRecordServiceBase,
|
||||
from invokeai.app.services.image_record_storage import (
|
||||
ImageRecordStorageBase,
|
||||
)
|
||||
from invokeai.app.services.images import ImageService
|
||||
from invokeai.app.services.metadata import MetadataServiceBase
|
||||
@ -11,7 +11,7 @@ from invokeai.backend import ModelManager
|
||||
|
||||
from .events import EventServiceBase
|
||||
from .latent_storage import LatentsStorageBase
|
||||
from .image_storage import ImageStorageBase
|
||||
from .image_file_storage import ImageFileStorageBase
|
||||
from .restoration_services import RestorationServices
|
||||
from .invocation_queue import InvocationQueueABC
|
||||
from .item_storage import ItemStorageABC
|
||||
@ -23,13 +23,12 @@ class InvocationServices:
|
||||
|
||||
events: EventServiceBase
|
||||
latents: LatentsStorageBase
|
||||
images: ImageStorageBase
|
||||
images: ImageFileStorageBase
|
||||
metadata: MetadataServiceBase
|
||||
queue: InvocationQueueABC
|
||||
model_manager: ModelManager
|
||||
restoration: RestorationServices
|
||||
configuration: InvokeAISettings
|
||||
images_db: ImageRecordServiceBase
|
||||
urls: UrlServiceBase
|
||||
images_new: ImageService
|
||||
|
||||
@ -44,10 +43,9 @@ class InvocationServices:
|
||||
events: EventServiceBase,
|
||||
logger: ModuleType,
|
||||
latents: LatentsStorageBase,
|
||||
images: ImageStorageBase,
|
||||
images: ImageFileStorageBase,
|
||||
metadata: MetadataServiceBase,
|
||||
queue: InvocationQueueABC,
|
||||
images_db: ImageRecordServiceBase,
|
||||
images_new: ImageService,
|
||||
urls: UrlServiceBase,
|
||||
graph_library: ItemStorageABC["LibraryGraph"],
|
||||
@ -63,7 +61,6 @@ class InvocationServices:
|
||||
self.images = images
|
||||
self.metadata = metadata
|
||||
self.queue = queue
|
||||
self.images_db = images_db
|
||||
self.images_new = images_new
|
||||
self.urls = urls
|
||||
self.graph_library = graph_library
|
||||
|
Reference in New Issue
Block a user