Richard Neuschulz
commited on
Commit
·
9e7aadf
1
Parent(s):
3765b23
changed to autodownload model
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ import gradio as gr
|
|
| 11 |
import cv2
|
| 12 |
|
| 13 |
base_model_path = "SG161222/RealVisXL_V3.0"
|
| 14 |
-
ip_ckpt = "ip-adapter-faceid_sdxl.bin"
|
| 15 |
device = "cuda"
|
| 16 |
|
| 17 |
noise_scheduler = DDIMScheduler(
|
|
|
|
| 11 |
import cv2
|
| 12 |
|
| 13 |
base_model_path = "SG161222/RealVisXL_V3.0"
|
| 14 |
+
ip_ckpt = hf_hub_download(repo_id="h94/IP-Adapter-FaceID", filename="ip-adapter-faceid_sdxl.bin", repo_type="model")
|
| 15 |
device = "cuda"
|
| 16 |
|
| 17 |
noise_scheduler = DDIMScheduler(
|