Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,6 +22,6 @@ def detect_faces(image , slider ) :
|
|
22 |
|
23 |
# slider = gr.Slider(1, 2, step=.1, label="Adjust the ScaleFactor", value=1.5)
|
24 |
|
25 |
-
iface = gr.Interface( fn=detect_faces,inputs=["image",
|
26 |
|
27 |
iface.launch()
|
|
|
22 |
|
23 |
# slider = gr.Slider(1, 2, step=.1, label="Adjust the ScaleFactor", value=1.5)
|
24 |
|
25 |
+
iface = gr.Interface( fn=detect_faces,inputs=["image",gr.Slider(1, 2, step=.1, label="Adjust the ScaleFactor", value=1.5)],outputs="image",title="Face Detection using Haar Cascade Classifier ",description="Upload an image,and the model will detect faces and draw bounding boxes around them.",)
|
26 |
|
27 |
iface.launch()
|