khartist29 commited on
Commit
c16f470
·
1 Parent(s): 2a94b1b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, model_name = models[0])
5
  return result
6
 
7
  def detect(img):
8
- dct = DeepFace.detectFace(img, model_name = models[0])
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):