Spaces:
Runtime error
Runtime error
Commit
·
c16f470
1
Parent(s):
2a94b1b
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
import gradio as gr
|
2 |
from deepface import DeepFace
|
3 |
def verify(img1, img2):
|
4 |
-
result = DeepFace.verify(img1_path = img1, img2_path = img2
|
5 |
return result
|
6 |
|
7 |
def detect(img):
|
8 |
-
dct = DeepFace.detectFace(img
|
9 |
return dct
|
10 |
|
11 |
def analyze(img):
|
|
|
1 |
import gradio as gr
|
2 |
from deepface import DeepFace
|
3 |
def verify(img1, img2):
|
4 |
+
result = DeepFace.verify(img1_path = img1, img2_path = img2)
|
5 |
return result
|
6 |
|
7 |
def detect(img):
|
8 |
+
dct = DeepFace.detectFace(img)
|
9 |
return dct
|
10 |
|
11 |
def analyze(img):
|