Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def detect_objects(image):
|
|
61 |
|
62 |
iface = gr.Interface(
|
63 |
fn=detect_objects,
|
64 |
-
inputs=gr.
|
65 |
outputs=gr.Image(type="pil"),
|
66 |
live=True
|
67 |
)
|
|
|
61 |
|
62 |
iface = gr.Interface(
|
63 |
fn=detect_objects,
|
64 |
+
inputs=gr.Image(source="webcam", type="pil"),
|
65 |
outputs=gr.Image(type="pil"),
|
66 |
live=True
|
67 |
)
|