renamed parameter

This commit is contained in:
cantor-set 2024-02-22 18:51:51 -05:00
parent e802016043
commit 9e60a8c3f8
1 changed files with 2 additions and 2 deletions

View File

@ -187,11 +187,11 @@ def ordinal_suffix(number: int) -> str:
return 'th' if 10 <= number % 100 <= 20 else {1: 'st', 2: 'nd', 3: 'rd'}.get(number % 10, 'th')
def parse_lora_references_from_prompt(items: str, loras: List[Tuple[AnyStr, float]], loras_limit: int = 5):
def parse_lora_references_from_prompt(prompt: str, loras: List[Tuple[AnyStr, float]], loras_limit: int = 5):
new_loras = []
for token in items.split(","):
for token in prompt.split(","):
m = LORAS_PROMPT_PATTERN.match(token)