Skip to content

Commit

Permalink
Ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonrising committed Feb 27, 2024
1 parent b65f259 commit 605dc5a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion invokeai/app/util/ti_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 605dc5a

Please sign in to comment.