Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ def process_frame(image):
|
|
54 |
|
55 |
interface = gr.Interface(
|
56 |
fn=process_frame,
|
57 |
-
inputs=gr.Image(
|
58 |
outputs="image",
|
59 |
live=True
|
60 |
)
|
|
|
54 |
|
55 |
interface = gr.Interface(
|
56 |
fn=process_frame,
|
57 |
+
inputs=gr.Image(sources="webcam", streaming=True),
|
58 |
outputs="image",
|
59 |
live=True
|
60 |
)
|