From c670dacc298c7de740d9803ad054abdddd4e0fee Mon Sep 17 00:00:00 2001 From: Brandon Rising Date: Tue, 27 Feb 2024 15:24:23 -0500 Subject: [PATCH] Ruff format --- invokeai/app/util/ti_utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/invokeai/app/util/ti_utils.py b/invokeai/app/util/ti_utils.py index 0d803408fd..b5c884c9b7 100644 --- a/invokeai/app/util/ti_utils.py +++ b/invokeai/app/util/ti_utils.py @@ -14,7 +14,10 @@ def extract_ti_triggers_from_prompt(prompt: str) -> List[str]: ti_triggers.append(str(trigger)) return ti_triggers -def generate_ti_list(prompt: str, base: BaseModelType, context: InvocationContext) -> List[Tuple[str, TextualInversionModelRaw]]: + +def generate_ti_list( + prompt: str, base: BaseModelType, context: InvocationContext +) -> List[Tuple[str, TextualInversionModelRaw]]: ti_list: List[Tuple[str, TextualInversionModelRaw]] = [] for trigger in extract_ti_triggers_from_prompt(prompt): name_or_key = trigger[1:-1]