Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|