Update app.py
Browse files
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
|