mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Ruff format
This commit is contained in:
parent
f475b78734
commit
c670dacc29
@ -14,7 +14,10 @@ def extract_ti_triggers_from_prompt(prompt: str) -> List[str]:
|
|||||||
ti_triggers.append(str(trigger))
|
ti_triggers.append(str(trigger))
|
||||||
return ti_triggers
|
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]] = []
|
ti_list: List[Tuple[str, TextualInversionModelRaw]] = []
|
||||||
for trigger in extract_ti_triggers_from_prompt(prompt):
|
for trigger in extract_ti_triggers_from_prompt(prompt):
|
||||||
name_or_key = trigger[1:-1]
|
name_or_key = trigger[1:-1]
|
||||||
|
Loading…
Reference in New Issue
Block a user