Skip to content

Commit

Permalink
"#415"
Browse files Browse the repository at this point in the history
  • Loading branch information
hako-mikan committed Jan 8, 2025
1 parent aa82ea5 commit 82009e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mergers/pluslora.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from safetensors.torch import load_file, save_file
from scripts.kohyas import extract_lora_from_models as ext
from scripts.kohyas import lora as klora
from scripts.A1111 import networks as nets
from scripts.mergers.model_util import (filenamecutter, savemodel)
from scripts.mergers.mergers import extract_super, unload_forge
from tqdm import tqdm
Expand Down Expand Up @@ -850,7 +851,6 @@ def pluslora(lnames,loraratios,settings,output,model,save_precision,calc_precisi
return result + add

def newpluslora(theta_0,filenames,lweis,names, isxl,isv2, keychanger):
import scripts.A1111.networks as nets
nets.load_networks(names, [1]* len(names),[1]* len(names), isxl, isv2)

for l, loaded in enumerate(nets.loaded_networks):
Expand Down

0 comments on commit 82009e6

Please sign in to comment.