Load more than one LoRA with --lora, fix a bug
This commit is contained in:
parent
15940e762e
commit
f39c99fa14
4 changed files with 4 additions and 4 deletions
|
@ -913,7 +913,7 @@ if __name__ == "__main__":
|
|||
# Load the model
|
||||
shared.model, shared.tokenizer = load_model(shared.model_name)
|
||||
if shared.args.lora:
|
||||
add_lora_to_model([shared.args.lora])
|
||||
add_lora_to_model(shared.args.lora)
|
||||
|
||||
# Force a character to be loaded
|
||||
if shared.is_chat():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue