Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ def remove_id_and_ext(text):
|
|
98 |
text = text[:-4]
|
99 |
return text
|
100 |
|
101 |
-
def place_lora(current_prompt,
|
102 |
pattern = r"<lora:" + lora_name + r":.*?>"
|
103 |
|
104 |
if re.search(pattern, current_prompt):
|
|
|
98 |
text = text[:-4]
|
99 |
return text
|
100 |
|
101 |
+
def place_lora(current_prompt, lora_name):
|
102 |
pattern = r"<lora:" + lora_name + r":.*?>"
|
103 |
|
104 |
if re.search(pattern, current_prompt):
|