fix(tests): log db_location

This commit is contained in:
psychedelicious 2023-05-25 11:12:22 +10:00
parent d22ebe08be
commit ad619ae880

View File

@ -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,