From ad619ae880b61b5979f6e9617ae2969a2e7797ac Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 25 May 2023 11:12:22 +1000 Subject: [PATCH] fix(tests): log db_location --- invokeai/app/cli_app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invokeai/app/cli_app.py b/invokeai/app/cli_app.py index c6c7320d79..967a79bfd6 100644 --- a/invokeai/app/cli_app.py +++ b/invokeai/app/cli_app.py @@ -216,6 +216,8 @@ def invoke_cli(): # TODO: build a file/path manager? db_location = os.path.join(output_folder, "invokeai.db") + logger.info(f'InvokeAI database location is "{db_location}"') + graph_execution_manager = SqliteItemStorage[GraphExecutionState]( filename=db_location, table_name="graph_executions" ) @@ -225,8 +227,6 @@ def invoke_cli(): image_record_storage = SqliteImageRecordStorage(db_location) image_file_storage = DiskImageFileStorage(f"{output_folder}/images") - logger.info(f'InvokeAI database location is "{db_location}"') - images = ImageService( image_record_storage=image_record_storage, image_file_storage=image_file_storage,