Update app.py
Browse files
app.py
CHANGED
|
@@ -32,10 +32,10 @@ def recognize_face_from_frame(frame):
|
|
| 32 |
|
| 33 |
iface = gr.Interface(
|
| 34 |
fn=recognize_face_from_frame,
|
| 35 |
-
inputs=gr.Image(
|
| 36 |
outputs="text",
|
| 37 |
title="🔍 EigenFace Recognition",
|
| 38 |
-
description="Upload a face image
|
| 39 |
)
|
| 40 |
|
| 41 |
iface.launch()
|
|
|
|
| 32 |
|
| 33 |
iface = gr.Interface(
|
| 34 |
fn=recognize_face_from_frame,
|
| 35 |
+
inputs=gr.Image(type="numpy"),
|
| 36 |
outputs="text",
|
| 37 |
title="🔍 EigenFace Recognition",
|
| 38 |
+
description="Upload a face image (webcam capture available on some devices)."
|
| 39 |
)
|
| 40 |
|
| 41 |
iface.launch()
|