multimodalart HF staff commited on
Commit
3ffc96a
1 Parent(s): 254ee37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,9 +88,9 @@ hf_hub_download(
88
  local_dir="/data/checkpoints",
89
  )
90
  # download antelopev2
91
- gdown.download(url="https://drive.google.com/file/d/18wEUfMNohBJ4K3Ly5wpTejPfDzp-8fI8/view?usp=sharing", output=".", quiet=False, fuzzy=True)
92
  # unzip antelopev2.zip
93
- os.system("unzip .antelopev2.zip -d /data/models/")
94
 
95
  app = FaceAnalysis(name='antelopev2', root='./data', providers=['CPUExecutionProvider'])
96
  app.prepare(ctx_id=0, det_size=(640, 640))
 
88
  local_dir="/data/checkpoints",
89
  )
90
  # download antelopev2
91
+ gdown.download(url="https://drive.google.com/file/d/18wEUfMNohBJ4K3Ly5wpTejPfDzp-8fI8/view?usp=sharing", output="/data/", quiet=False, fuzzy=True)
92
  # unzip antelopev2.zip
93
+ os.system("unzip /data/antelopev2.zip -d /data/models/")
94
 
95
  app = FaceAnalysis(name='antelopev2', root='./data', providers=['CPUExecutionProvider'])
96
  app.prepare(ctx_id=0, det_size=(640, 640))