mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(config): use correct config in install_helper
This commit is contained in:
parent
dedce2d896
commit
7716a4a8c7
@ -36,7 +36,7 @@ INITIAL_MODELS = "INITIAL_MODELS.yaml"
|
||||
def initialize_record_store(app_config: InvokeAIAppConfig) -> ModelRecordServiceBase:
|
||||
"""Return an initialized ModelConfigRecordServiceBase object."""
|
||||
logger = InvokeAILogger.get_logger(config=app_config)
|
||||
image_files = DiskImageFileStorage(f"{app_config.output_path}/images")
|
||||
image_files = DiskImageFileStorage(f"{app_config.outputs_path}/images")
|
||||
db = init_db(config=app_config, logger=logger, image_files=image_files)
|
||||
obj: ModelRecordServiceBase = ModelRecordServiceSQL(db)
|
||||
return obj
|
||||
|
Loading…
Reference in New Issue
Block a user