bit-guber commited on
Commit
7c4bb9b
1 Parent(s): ee51124

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -3,13 +3,13 @@ from transformers import ViTImageProcessor, ViTForImageClassification, AutoModel
3
  import torch
4
  import numpy as np
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
 
 
3
  import torch
4
  import numpy as np
5
  # import face_recognition
 
 
6
  import subprocess
7
  import sys
8
+ subprocess.check_call([sys.executable, "-m", "pip", "install", '[email protected]:bit-guber/retinaface.git'])
9
+
10
+ from retinaface import RetinaFace
11
+
12
 
 
 
13
 
14
  torch.backends.cudnn.benchmark = True
15