Spaces:
Runtime error
Runtime error
cocktailpeanut
commited on
Commit
•
49eb5ef
1
Parent(s):
15f0453
update
Browse files
app.py
CHANGED
@@ -108,9 +108,9 @@ hf_hub_download(
|
|
108 |
local_dir="data/checkpoints",
|
109 |
)
|
110 |
# download antelopev2
|
111 |
-
if not os.path.exists("data/antelopev2.zip"):
|
112 |
-
gdown.download(url="https://drive.google.com/file/d/18wEUfMNohBJ4K3Ly5wpTejPfDzp-8fI8/view?usp=sharing", output="data/", quiet=False, fuzzy=True)
|
113 |
-
os.system("unzip data/antelopev2.zip -d data/models/")
|
114 |
|
115 |
app = FaceAnalysis(name='antelopev2', root='data', providers=['CPUExecutionProvider'])
|
116 |
app.prepare(ctx_id=0, det_size=(640, 640))
|
|
|
108 |
local_dir="data/checkpoints",
|
109 |
)
|
110 |
# download antelopev2
|
111 |
+
#if not os.path.exists("data/antelopev2.zip"):
|
112 |
+
# gdown.download(url="https://drive.google.com/file/d/18wEUfMNohBJ4K3Ly5wpTejPfDzp-8fI8/view?usp=sharing", output="data/", quiet=False, fuzzy=True)
|
113 |
+
# os.system("unzip data/antelopev2.zip -d data/models/")
|
114 |
|
115 |
app = FaceAnalysis(name='antelopev2', root='data', providers=['CPUExecutionProvider'])
|
116 |
app.prepare(ctx_id=0, det_size=(640, 640))
|