pushpinder06 commited on
Commit
7f505db
·
verified ·
1 Parent(s): 041ba6d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -20,7 +20,7 @@ def detect_faces(image_np,slider):
20
  cv2.rectangle(image_np, (x, y), (x + w, y + h), (0, 255, 0), 2)
21
 
22
  return img
23
- slider=gr.Slider(minimum=1,maximum=2,step=.1,label="Adjust the scale factor.")
24
  # Create Gradio Interface
25
  iface = gr.Interface(
26
  fn=detect_faces,
 
20
  cv2.rectangle(image_np, (x, y), (x + w, y + h), (0, 255, 0), 2)
21
 
22
  return img
23
+ slider=gr.Slider(min=1,max=2,step=.1,label="Adjust the scale factor.")
24
  # Create Gradio Interface
25
  iface = gr.Interface(
26
  fn=detect_faces,