NTAMBARA Etienne commited on
Commit
504280c
1 Parent(s): 0f31aa2

Changes Made Keys p3

Browse files
Files changed (1) hide show
  1. app1.py +2 -2
app1.py CHANGED
@@ -72,9 +72,9 @@ def process_webcam_image(image):
72
  # Gradio interface
73
  iface = gr.Interface(
74
  fn=recognize_face,
75
- inputs=gr.Image(source="webcam", tool="editor"),
76
  outputs=[
77
- gr.Image(type="pil"),
78
  gr.JSON(label="Student Information")
79
  ],
80
  title="Real-time Face Recognition Attendance System",
 
72
  # Gradio interface
73
  iface = gr.Interface(
74
  fn=recognize_face,
75
+ inputs=gr.Image(tool="editor", source="webcam"),
76
  outputs=[
77
+ gr.Image(),
78
  gr.JSON(label="Student Information")
79
  ],
80
  title="Real-time Face Recognition Attendance System",