Spaces:
Running
on
Zero
Running
on
Zero
Upload modutils.py
Browse files- modutils.py +1 -1
modutils.py
CHANGED
@@ -583,7 +583,7 @@ def normalize_prompt_list(tags: list[str]):
|
|
583 |
return prompts
|
584 |
|
585 |
|
586 |
-
def apply_lora_prompt(prompt: str, lora_info: str):
|
587 |
if lora_info == "None": return gr.update(value=prompt)
|
588 |
tags = prompt.split(",") if prompt else []
|
589 |
prompts = normalize_prompt_list(tags)
|
|
|
583 |
return prompts
|
584 |
|
585 |
|
586 |
+
def apply_lora_prompt(prompt: str = "", lora_info: str = ""):
|
587 |
if lora_info == "None": return gr.update(value=prompt)
|
588 |
tags = prompt.split(",") if prompt else []
|
589 |
prompts = normalize_prompt_list(tags)
|