Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ pipe = StableDiffusionXLControlNetImg2ImgPipeline(
|
|
83 |
if hasattr(pipe.unet, 'encoder_hid_proj'):
|
84 |
pipe.unet.text_encoder_hid_proj = pipe.unet.encoder_hid_proj
|
85 |
ip_scale = 0.5
|
86 |
-
pipe.load_ip_adapter_faceid_plus('ipa-faceid-plus.bin', device = 'cuda')
|
87 |
pipe.set_face_fidelity_scale(ip_scale)
|
88 |
pipe = pipe.to("cuda")
|
89 |
pipe.enable_model_cpu_offload()
|
|
|
83 |
if hasattr(pipe.unet, 'encoder_hid_proj'):
|
84 |
pipe.unet.text_encoder_hid_proj = pipe.unet.encoder_hid_proj
|
85 |
ip_scale = 0.5
|
86 |
+
pipe.load_ip_adapter_faceid_plus('Kolors-IP-Adapter-FaceID-Plus/ipa-faceid-plus.bin', device = 'cuda')
|
87 |
pipe.set_face_fidelity_scale(ip_scale)
|
88 |
pipe = pipe.to("cuda")
|
89 |
pipe.enable_model_cpu_offload()
|