Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -55,7 +55,7 @@ def run_app(webcam):
|
|
| 55 |
# Launch Gradio UI (Fixed Input for New Gradio Versions)
|
| 56 |
iface = gr.Interface(
|
| 57 |
fn=run_app,
|
| 58 |
-
inputs=gr.
|
| 59 |
outputs=["image", "plot", "audio"],
|
| 60 |
live=True
|
| 61 |
)
|
|
|
|
| 55 |
# Launch Gradio UI (Fixed Input for New Gradio Versions)
|
| 56 |
iface = gr.Interface(
|
| 57 |
fn=run_app,
|
| 58 |
+
inputs=gr.Video(source="webcam", streaming=True), # ✅ Corrected Input
|
| 59 |
outputs=["image", "plot", "audio"],
|
| 60 |
live=True
|
| 61 |
)
|