bit-guber commited on
Commit
9013417
1 Parent(s): 3453c44

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -5,6 +5,12 @@ import numpy as np
5
  import face_recognition
6
  from retinaface import RetinaFace
7
 
 
 
 
 
 
 
8
  torch.backends.cudnn.benchmark = True
9
 
10
  import urllib.request
 
5
  import face_recognition
6
  from retinaface import RetinaFace
7
 
8
+ import subprocess
9
+ import sys
10
+
11
+ def install(package):
12
+ subprocess.check_call([sys.executable, "-m", "pip", "install", '[email protected]:bit-guber/retinaface.git'])
13
+
14
  torch.backends.cudnn.benchmark = True
15
 
16
  import urllib.request