LBLong commited on
Commit
ca8f959
·
verified ·
1 Parent(s): ef6c110

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def detect_faces(image):
24
  for (x, y, w, h) in faces:
25
  cv2.rectangle(image_np, (x, y), (x+w, y+h), (0, 255, 0), 2)
26
 
27
- return im,image_np
28
 
29
  interface = gr.Interface(
30
  fn=detect_faces,
 
24
  for (x, y, w, h) in faces:
25
  cv2.rectangle(image_np, (x, y), (x+w, y+h), (0, 255, 0), 2)
26
 
27
+ return (im,image_np)
28
 
29
  interface = gr.Interface(
30
  fn=detect_faces,