escottyp commited on
Commit
b67ce9b
·
1 Parent(s): 6988e02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -11,6 +11,9 @@ def predict(im1, im2):
11
  return sim, "SAME PERSON, UNLOCK PHONE"
12
  else:
13
  return sim, "DIFFERENT PEOPLE, DON'T UNLOCK"
 
 
 
14
 
15
  interface = gr.Interface(fn=predict,
16
  inputs= [gr.Image(type="pil", source="webcam"),
 
11
  return sim, "SAME PERSON, UNLOCK PHONE"
12
  else:
13
  return sim, "DIFFERENT PEOPLE, DON'T UNLOCK"
14
+
15
+ description = "A simple vision app that 'unlocks' a phone if two faces are similar."
16
+ title = "Simple Face Id"
17
 
18
  interface = gr.Interface(fn=predict,
19
  inputs= [gr.Image(type="pil", source="webcam"),