minchul commited on
Commit
6a2df97
1 Parent(s): 23ff07f

Upload directory

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -71,7 +71,7 @@ def load_model_by_repo_id(repo_id, save_path, HF_TOKEN=None, force_download=Fals
71
  if __name__ == '__main__':
72
 
73
  HF_TOKEN = 'YOUR_HUGGINGFACE_TOKEN'
74
- path = 'path/to/store/model/locally'
75
  repo_id = 'minchul/cvlface_adaface_vit_base_kprpe_webface4m'
76
  model = load_model_by_repo_id(repo_id, path, HF_TOKEN)
77
 
 
71
  if __name__ == '__main__':
72
 
73
  HF_TOKEN = 'YOUR_HUGGINGFACE_TOKEN'
74
+ path = os.path.expanduser('~/.cvlface_cache/minchul/cvlface_adaface_vit_base_kprpe_webface4m')
75
  repo_id = 'minchul/cvlface_adaface_vit_base_kprpe_webface4m'
76
  model = load_model_by_repo_id(repo_id, path, HF_TOKEN)
77