pushpinder06 commited on
Commit
545ab99
·
verified ·
1 Parent(s): 968f22c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def detect_faces(image_np,slider):
25
  iface = gr.Interface(
26
  fn=detect_faces,
27
  inputs=["image",gr.Slider(minimum=1,maximum=2,step=.1,label="Adjust the scale factor.")],
28
- outputs=["image",gr.Label(value={"Faces Count": len(detect_faces) })],
29
  title="Face Detection",
30
  description="Upload an image, and the model will detect faces and draw bounding boxes around them."
31
  )
 
25
  iface = gr.Interface(
26
  fn=detect_faces,
27
  inputs=["image",gr.Slider(minimum=1,maximum=2,step=.1,label="Adjust the scale factor.")],
28
+ outputs=["image",gr.Label( "Face counts")],
29
  title="Face Detection",
30
  description="Upload an image, and the model will detect faces and draw bounding boxes around them."
31
  )