Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ pipe = StableDiffusionPipelineCFG.from_pretrained(
|
|
42 |
#pipe.load_lora_weights("h94/IP-Adapter-FaceID", weight_name="ip-adapter-faceid-plusv2_sd15_lora.safetensors")
|
43 |
#pipe.fuse_lora()
|
44 |
|
45 |
-
ip_model = IPAdapterInstruct(pipe, ip_ckpt, device)
|
46 |
|
47 |
cv2.setNumThreads(1)
|
48 |
|
|
|
42 |
#pipe.load_lora_weights("h94/IP-Adapter-FaceID", weight_name="ip-adapter-faceid-plusv2_sd15_lora.safetensors")
|
43 |
#pipe.fuse_lora()
|
44 |
|
45 |
+
ip_model = IPAdapterInstruct(pipe, image_encoder_path, ip_ckpt, device,dtypein=torch.float16)
|
46 |
|
47 |
cv2.setNumThreads(1)
|
48 |
|