Update app.py
Browse files
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"),
|