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