Spaces:
Running
on
Zero
Running
on
Zero
Commit
•
18054eb
1
Parent(s):
29b3293
Update app.py
Browse files
app.py
CHANGED
@@ -41,6 +41,9 @@ pipe = StableDiffusionPipeline.from_pretrained(
|
|
41 |
safety_checker=safety_checker
|
42 |
)
|
43 |
|
|
|
|
|
|
|
44 |
ip_model = IPAdapterFaceID(pipe, ip_ckpt, device)
|
45 |
ip_model_plus = IPAdapterFaceIDPlus(pipe, image_encoder_path, ip_plus_ckpt, device)
|
46 |
|
|
|
41 |
safety_checker=safety_checker
|
42 |
)
|
43 |
|
44 |
+
pipe.load_lora_weights("h94/IP-Adapter-FaceID", weight_name="ip-adapter-faceid-plusv2_sd15_lora.safetensors")
|
45 |
+
pipe.fuse_lora()
|
46 |
+
|
47 |
ip_model = IPAdapterFaceID(pipe, ip_ckpt, device)
|
48 |
ip_model_plus = IPAdapterFaceIDPlus(pipe, image_encoder_path, ip_plus_ckpt, device)
|
49 |
|