Minor LoRA bug fix

This commit is contained in:
oobabooga 2023-11-19 07:59:29 -08:00
parent 78af3b0a00
commit 9da7bb203d

View File

@ -145,6 +145,7 @@ def add_lora_transformers(lora_names):
if len(lora_names) > 1: if len(lora_names) > 1:
merge_loras() merge_loras()
shared.lora_names = lora_names
return return
# If any LoRA needs to be removed, start over # If any LoRA needs to be removed, start over