rahul7star commited on
Commit
d036098
·
verified ·
1 Parent(s): 1a9d52c

lora 2 test

Browse files
Files changed (1) hide show
  1. app_two_lora.py +2 -2
app_two_lora.py CHANGED
@@ -54,11 +54,11 @@ causvid_path = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
54
 
55
 
56
  #load 1 mor3 lora
57
- lora2 = hf_hub_download(repo_id=LORA_REPO_ID, filename=LORA_FILENAME)
58
 
59
  pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
60
  pipe.load_lora_weights(lora2 , adapter_name="nsfw_lora")
61
- pipe.set_adapters(["causvid_lora", "nsfw_lora"], adapter_weights=[0.95, 0.85])
62
  pipe.fuse_lora()
63
 
64
 
 
54
 
55
 
56
  #load 1 mor3 lora
57
+ lora2 = hf_hub_download(repo_id=LORA_TWO, filename=LORA_TWO_FILE)
58
 
59
  pipe.load_lora_weights(causvid_path, adapter_name="causvid_lora")
60
  pipe.load_lora_weights(lora2 , adapter_name="nsfw_lora")
61
+ pipe.set_adapters(["causvid_lora", "nsfw_lora"], adapter_weights=[0.30, 0.85])
62
  pipe.fuse_lora()
63
 
64