Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def process_frame(image):
|
|
36 |
|
37 |
interface = gr.Interface(
|
38 |
fn=process_frame,
|
39 |
-
inputs=gr.Image(
|
40 |
outputs="image",
|
41 |
live=True,
|
42 |
refresh_rate=0.1
|
|
|
36 |
|
37 |
interface = gr.Interface(
|
38 |
fn=process_frame,
|
39 |
+
inputs=gr.Image(sources="webcam", streaming=True),
|
40 |
outputs="image",
|
41 |
live=True,
|
42 |
refresh_rate=0.1
|