multimodalart HF staff commited on
Commit
f8e549b
1 Parent(s): 4c0c5ce

mirror replicate lora weighting

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -23,7 +23,7 @@ class EndpointHandler:
23
  ).to(device)
24
 
25
  self.pipe.load_lora_weights("SvenN/sdxl-emoji", weight_name="lora.safetensors")
26
- self.pipe.fuse_lora()
27
 
28
  embedding_path = hf_hub_download(
29
  repo_id="SvenN/sdxl-emoji", filename="embeddings.pti", repo_type="model"
 
23
  ).to(device)
24
 
25
  self.pipe.load_lora_weights("SvenN/sdxl-emoji", weight_name="lora.safetensors")
26
+ self.pipe.fuse_lora(lora_scale=0.6)
27
 
28
  embedding_path = hf_hub_download(
29
  repo_id="SvenN/sdxl-emoji", filename="embeddings.pti", repo_type="model"