John6666 commited on
Commit
157f6b5
·
verified ·
1 Parent(s): ffc6c73

Upload modutils.py

Browse files
Files changed (1) hide show
  1. 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)