Spaces:
Runtime error
Runtime error
Commit
·
be6ee40
1
Parent(s):
7d250fc
Update app.py
Browse files
app.py
CHANGED
@@ -32,7 +32,7 @@ else:
|
|
32 |
model.cuda(0)
|
33 |
model.eval()
|
34 |
|
35 |
-
def predict(
|
36 |
faces = detector(frame)
|
37 |
for box, landmarks, score in faces:
|
38 |
# Print the location of each face in this image
|
|
|
32 |
model.cuda(0)
|
33 |
model.eval()
|
34 |
|
35 |
+
def predict(frame):
|
36 |
faces = detector(frame)
|
37 |
for box, landmarks, score in faces:
|
38 |
# Print the location of each face in this image
|