Spaces:
Paused
Paused
Commit
•
3bef9b2
1
Parent(s):
9156d30
Update app.py
Browse files
app.py
CHANGED
@@ -92,7 +92,7 @@ gdown.download(url="https://drive.google.com/file/d/18wEUfMNohBJ4K3Ly5wpTejPfDzp
|
|
92 |
# unzip antelopev2.zip
|
93 |
os.system("unzip /data/antelopev2.zip -d /data/models/")
|
94 |
|
95 |
-
app = FaceAnalysis(name='antelopev2', root='
|
96 |
app.prepare(ctx_id=0, det_size=(640, 640))
|
97 |
|
98 |
# prepare models under ./checkpoints
|
|
|
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))
|
97 |
|
98 |
# prepare models under ./checkpoints
|