Spaces:
Sleeping
Sleeping
NTAMBARA Etienne
commited on
Commit
·
74690f9
1
Parent(s):
42c7197
Changes Made Keys p3
Browse files
app.py
CHANGED
@@ -83,9 +83,9 @@ def process_webcam_image(image):
|
|
83 |
# iface.launch(debug=True,inline=False)
|
84 |
# Create the Gradio interface
|
85 |
iface = gr.Interface(
|
86 |
-
fn=
|
87 |
-
inputs=gr.
|
88 |
-
outputs=[gr.
|
89 |
title="Real-time Face Recognition Attendance System",
|
90 |
description="Activate your webcam and take a photo to check attendance."
|
91 |
)
|
|
|
83 |
# iface.launch(debug=True,inline=False)
|
84 |
# Create the Gradio interface
|
85 |
iface = gr.Interface(
|
86 |
+
fn=recognize_face,
|
87 |
+
inputs=gr.components.Image(source="webcam", type="pil", tool="editor"),
|
88 |
+
outputs=[gr.components.Image(type="pil"), gr.components.Label()],
|
89 |
title="Real-time Face Recognition Attendance System",
|
90 |
description="Activate your webcam and take a photo to check attendance."
|
91 |
)
|