Spaces:
Sleeping
Sleeping
Update image_embedder.py
Browse files- image_embedder.py +4 -1
image_embedder.py
CHANGED
|
@@ -56,7 +56,10 @@ except ImportError as _e:
|
|
| 56 |
|
| 57 |
# Hugging face
|
| 58 |
_BASE_DIR = "MAS-AI-0000/Authentica"
|
| 59 |
-
_PROJECTOR_DIR =
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
log.info(f"[paths] _BASE_DIR = {_BASE_DIR!r}")
|
| 62 |
log.info(f"[paths] _PROJECTOR_DIR = {_PROJECTOR_DIR!r} exists={os.path.exists(_PROJECTOR_DIR)}")
|
|
|
|
| 56 |
|
| 57 |
# Hugging face
|
| 58 |
_BASE_DIR = "MAS-AI-0000/Authentica"
|
| 59 |
+
_PROJECTOR_DIR = hf_hub_download(
|
| 60 |
+
repo_id=_BASE_DIR,
|
| 61 |
+
filename="Lib/Models/Image/clip_projector.pt",
|
| 62 |
+
)
|
| 63 |
|
| 64 |
log.info(f"[paths] _BASE_DIR = {_BASE_DIR!r}")
|
| 65 |
log.info(f"[paths] _PROJECTOR_DIR = {_PROJECTOR_DIR!r} exists={os.path.exists(_PROJECTOR_DIR)}")
|