Spaces:
Running
Running
Update app.py
Browse files
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(
|
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 |
)
|