LBLong commited on
Commit
356e2ea
1 Parent(s): aa7aa23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,8 +28,8 @@ def detect_faces(image):
28
 
29
  interface = gr.Interface(
30
  fn=detect_faces,
31
- inputs="image",
32
- outputs=["image","image"],
33
  title="Face Detection Deep Learning",
34
  description="Upload an image, and the model will detect faces and draw bounding boxes around them.",
35
  )
 
28
 
29
  interface = gr.Interface(
30
  fn=detect_faces,
31
+ inputs=gr.Image(label='Upload Image'),
32
+ outputs=[gr.Image(label='Original'),gr.Image(label='Deep learning')],
33
  title="Face Detection Deep Learning",
34
  description="Upload an image, and the model will detect faces and draw bounding boxes around them.",
35
  )