khartist29 commited on
Commit
a1b648f
·
1 Parent(s): c066dec

changes minor issues

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ 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)
 
2
  from deepface import DeepFace
3
  def verify(img1, img2):
4
  result = DeepFace.verify(img1_path = img1, img2_path = img2)
5
+ return result['verified']
6
 
7
  def detect(img):
8
  dct = DeepFace.detectFace(img)