Add diffusers latest version with fix
#3
by
multimodalart
HF staff
- opened
- handler.py +1 -1
- requirements.txt +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"
|
requirements.txt
CHANGED
@@ -9,7 +9,7 @@ charset-normalizer==3.3.2
|
|
9 |
click==8.1.7
|
10 |
contourpy==1.2.1
|
11 |
cycler==0.12.1
|
12 |
-
diffusers
|
13 |
dnspython==2.6.1
|
14 |
email_validator==2.2.0
|
15 |
exceptiongroup==1.2.1
|
|
|
9 |
click==8.1.7
|
10 |
contourpy==1.2.1
|
11 |
cycler==0.12.1
|
12 |
+
git+https://github.com/huggingface/diffusers.git@5b51ad0052f587c55a7fa843fff9c6e7f3db0372
|
13 |
dnspython==2.6.1
|
14 |
email_validator==2.2.0
|
15 |
exceptiongroup==1.2.1
|