Spaces:
Sleeping
Sleeping
Commit
·
86082f8
1
Parent(s):
7864883
the REAL APP
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def process_frame(webcam_image):
|
|
34 |
# Gradio interface
|
35 |
demo = gr.Interface(
|
36 |
fn=process_frame,
|
37 |
-
inputs=gr.
|
38 |
outputs="image",
|
39 |
live=True
|
40 |
)
|
|
|
34 |
# Gradio interface
|
35 |
demo = gr.Interface(
|
36 |
fn=process_frame,
|
37 |
+
inputs=gr.Image(sources="webcam", streaming=True),
|
38 |
outputs="image",
|
39 |
live=True
|
40 |
)
|