@@ -70,20 +70,20 @@ def initialize(config: InvokeAIAppConfig, event_handler_id: int, logger: Logger
7070 # TODO: build a file/path manager?
7171 db_path = config .db_path
7272 db_path .parent .mkdir (parents = True , exist_ok = True )
73- db_path_string = str (db_path )
73+ db_location = str (db_path )
7474
7575 graph_execution_manager = SqliteItemStorage [GraphExecutionState ](
76- filename = db_path_string , table_name = "graph_executions"
76+ filename = db_location , table_name = "graph_executions"
7777 )
7878
7979 urls = LocalUrlService ()
80- image_record_storage = SqliteImageRecordStorage (db_path_string )
80+ image_record_storage = SqliteImageRecordStorage (db_location )
8181 image_file_storage = DiskImageFileStorage (f"{ output_folder } /images" )
8282 names = SimpleNameService ()
8383 latents = ForwardCacheLatentsStorage (DiskLatentsStorage (f"{ output_folder } /latents" ))
8484
85- board_record_storage = SqliteBoardRecordStorage (db_path_string )
86- board_image_record_storage = SqliteBoardImageRecordStorage (db_path_string )
85+ board_record_storage = SqliteBoardRecordStorage (db_location )
86+ board_image_record_storage = SqliteBoardImageRecordStorage (db_location )
8787
8888 boards = BoardService (
8989 services = BoardServiceDependencies (
@@ -125,7 +125,7 @@ def initialize(config: InvokeAIAppConfig, event_handler_id: int, logger: Logger
125125 boards = boards ,
126126 board_images = board_images ,
127127 queue = MemoryInvocationQueue (),
128- graph_library = SqliteItemStorage [LibraryGraph ](filename = db_path_string , table_name = "graphs" ),
128+ graph_library = SqliteItemStorage [LibraryGraph ](filename = db_location , table_name = "graphs" ),
129129 graph_execution_manager = graph_execution_manager ,
130130 processor = DefaultInvocationProcessor (),
131131 configuration = config ,
0 commit comments