Update face_analysis.py
Browse files- face_analysis.py +0 -1
face_analysis.py
CHANGED
@@ -5,7 +5,6 @@ from sklearn.cluster import DBSCAN
|
|
5 |
import os
|
6 |
import shutil
|
7 |
|
8 |
-
@spaces.GPU(duration=300)
|
9 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
10 |
model = InceptionResnetV1(pretrained='vggface2').eval().to(device)
|
11 |
|
|
|
5 |
import os
|
6 |
import shutil
|
7 |
|
|
|
8 |
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
9 |
model = InceptionResnetV1(pretrained='vggface2').eval().to(device)
|
10 |
|