From 36e0faea6b00f5c293834f740208aab595a5e39e Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Wed, 8 Nov 2023 16:47:03 -0500 Subject: [PATCH] blackify --- invokeai/app/services/model_records/model_records_base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/invokeai/app/services/model_records/model_records_base.py b/invokeai/app/services/model_records/model_records_base.py index e21d9415c5..d09ddecac7 100644 --- a/invokeai/app/services/model_records/model_records_base.py +++ b/invokeai/app/services/model_records/model_records_base.py @@ -145,7 +145,9 @@ class ModelRecordServiceBase(ABC): f"More than one model matched the search criteria: base_model='{base_model}', model_type='{model_type}', model_name='{model_name}'." ) if len(model_configs) == 0: - raise UnknownModelException(f"More than one model matched the search criteria: base_model='{base_model}', model_type='{model_type}', model_name='{model_name}'.") + raise UnknownModelException( + f"More than one model matched the search criteria: base_model='{base_model}', model_type='{model_type}', model_name='{model_name}'." + ) return model_configs[0] def rename_model(