Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -24,7 +24,7 @@ def detect_faces(image_np,slider):
|
|
| 24 |
iface = gr.Interface(
|
| 25 |
fn=detect_faces,
|
| 26 |
inputs=["image",gr.Slider(minimum=1,maximum=2,step=.1,label= "adjust the scaleFactor")],
|
| 27 |
-
outputs=["image",gr.Label("faces count")]
|
| 28 |
title="Face Detection",
|
| 29 |
description="Upload an image, and the model will detect faces and draw bounding boxes around them."
|
| 30 |
)
|
|
|
|
| 24 |
iface = gr.Interface(
|
| 25 |
fn=detect_faces,
|
| 26 |
inputs=["image",gr.Slider(minimum=1,maximum=2,step=.1,label= "adjust the scaleFactor")],
|
| 27 |
+
outputs=["image",gr.Label("faces count")],
|
| 28 |
title="Face Detection",
|
| 29 |
description="Upload an image, and the model will detect faces and draw bounding boxes around them."
|
| 30 |
)
|