Rasleen commited on
Commit
fd6162b
·
verified ·
1 Parent(s): 019f2cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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","slider"],outputs="image",gr.Slider(1, 2, step=.1, label="Adjust the ScaleFactor", value=1.5),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()
 
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()