scy639 commited on
Commit
da5f595
·
verified ·
1 Parent(s): 4f7f7e1

Update hf_model.py

Browse files
Files changed (1) hide show
  1. 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():