Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -28,8 +28,8 @@ def detect_faces(image):
|
|
28 |
|
29 |
interface = gr.Interface(
|
30 |
fn=detect_faces,
|
31 |
-
inputs=
|
32 |
-
outputs=[
|
33 |
title="Face Detection Deep Learning",
|
34 |
description="Upload an image, and the model will detect faces and draw bounding boxes around them.",
|
35 |
)
|
|
|
28 |
|
29 |
interface = gr.Interface(
|
30 |
fn=detect_faces,
|
31 |
+
inputs=gr.Image(label='Upload Image'),
|
32 |
+
outputs=[gr.Image(label='Original'),gr.Image(label='Deep learning')],
|
33 |
title="Face Detection Deep Learning",
|
34 |
description="Upload an image, and the model will detect faces and draw bounding boxes around them.",
|
35 |
)
|