Warn on invalid model configs in the DB rather than crashing.

This commit is contained in:
Ryan Dick
2024-07-10 09:41:46 -04:00
parent 5795617f86
commit 69af099532
5 changed files with 24 additions and 7 deletions

View File

@ -408,7 +408,7 @@ config = get_config()
logger = InvokeAILogger.get_logger(config=config)
db = SqliteDatabase(config.db_path, logger)
record_store = ModelRecordServiceSQL(db)
record_store = ModelRecordServiceSQL(db, logger)
queue = DownloadQueueService()
queue.start()