Spaces:
Running
on
Zero
Running
on
Zero
Richard Neuschulz
commited on
Commit
·
3765b23
1
Parent(s):
c55e4ce
does this work?
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ pipe = StableDiffusionXLPipeline.from_pretrained(
|
|
37 |
#pipe.load_lora_weights("h94/IP-Adapter-FaceID", weight_name="ip-adapter-faceid-plusv2_sd15_lora.safetensors")
|
38 |
#pipe.fuse_lora()
|
39 |
|
40 |
-
ip_model = IPAdapterFaceIDXL(pipe, ip_ckpt, device)
|
41 |
|
42 |
@spaces.GPU(enable_queue=True)
|
43 |
def generate_image(images, prompt, negative_prompt, preserve_face_structure, face_strength, likeness_strength, nfaa_negative_prompt, progress=gr.Progress(track_tqdm=True)):
|
|
|
37 |
#pipe.load_lora_weights("h94/IP-Adapter-FaceID", weight_name="ip-adapter-faceid-plusv2_sd15_lora.safetensors")
|
38 |
#pipe.fuse_lora()
|
39 |
|
40 |
+
ip_model = ipown.IPAdapterFaceIDXL(pipe, ip_ckpt, device)
|
41 |
|
42 |
@spaces.GPU(enable_queue=True)
|
43 |
def generate_image(images, prompt, negative_prompt, preserve_face_structure, face_strength, likeness_strength, nfaa_negative_prompt, progress=gr.Progress(track_tqdm=True)):
|