Spaces:
Running on Zero
Running on Zero
Update hf_model.py
Browse files- hf_model.py +1 -1
hf_model.py
CHANGED
|
@@ -150,7 +150,7 @@ class UniBioTransferModel(LatentDiffusion, PyTorchModelHubMixin):
|
|
| 150 |
_download_file(repo_id, "checkpoints/pretrained.json", cache_dir)
|
| 151 |
|
| 152 |
if download_sd14 and not sd14_path.exists():
|
| 153 |
-
_download_file(SD14_REPO, SD14_FILENAME, cache_dir)
|
| 154 |
|
| 155 |
if download_deps:
|
| 156 |
if not arcface_path.exists():
|
|
|
|
| 150 |
_download_file(repo_id, "checkpoints/pretrained.json", cache_dir)
|
| 151 |
|
| 152 |
if download_sd14 and not sd14_path.exists():
|
| 153 |
+
_download_file(SD14_REPO, SD14_FILENAME, cache_dir/"checkpoints")
|
| 154 |
|
| 155 |
if download_deps:
|
| 156 |
if not arcface_path.exists():
|