multimodalart HF staff commited on
Commit
95cf0ac
1 Parent(s): bc7a3de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -109,8 +109,8 @@ hf_hub_download(
109
  # gdown.download(url="https://drive.google.com/file/d/18wEUfMNohBJ4K3Ly5wpTejPfDzp-8fI8/view?usp=sharing", output="/data/", quiet=False, fuzzy=True)
110
  # os.system("unzip /data/antelopev2.zip -d /data/models/")
111
 
112
- snapshot_download(repo_id="DIAMONIK7777/antelopev2", local_dir="/data/models")
113
-
114
  app = FaceAnalysis(name='antelopev2', root='/data', providers=['CPUExecutionProvider'])
115
  app.prepare(ctx_id=0, det_size=(640, 640))
116
 
 
109
  # gdown.download(url="https://drive.google.com/file/d/18wEUfMNohBJ4K3Ly5wpTejPfDzp-8fI8/view?usp=sharing", output="/data/", quiet=False, fuzzy=True)
110
  # os.system("unzip /data/antelopev2.zip -d /data/models/")
111
 
112
+ antelope_download = snapshot_download(repo_id="DIAMONIK7777/antelopev2", local_dir="/data/models")
113
+ print(antelope_download)
114
  app = FaceAnalysis(name='antelopev2', root='/data', providers=['CPUExecutionProvider'])
115
  app.prepare(ctx_id=0, det_size=(640, 640))
116