Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,7 +87,7 @@ def run_face_verification(webcam_video, id_card_image):
|
|
| 87 |
interface = gr.Interface(
|
| 88 |
fn=run_face_verification,
|
| 89 |
inputs=[
|
| 90 |
-
gr.Video(label="Live Selfie (Webcam)"),
|
| 91 |
gr.Image(label="ID Card Photo", type="pil")
|
| 92 |
],
|
| 93 |
outputs=[
|
|
|
|
| 87 |
interface = gr.Interface(
|
| 88 |
fn=run_face_verification,
|
| 89 |
inputs=[
|
| 90 |
+
gr.Video(label="Live Selfie (Webcam)", sources="webcam"),
|
| 91 |
gr.Image(label="ID Card Photo", type="pil")
|
| 92 |
],
|
| 93 |
outputs=[
|