wanchoi commited on
Commit
f0f598b
·
verified ·
1 Parent(s): 3539a90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=[