Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -295,7 +295,7 @@ with gr.Blocks(analytics_enabled=False) as demo:
|
|
| 295 |
with gr.Tab("Webcam"):
|
| 296 |
with gr.Row():
|
| 297 |
with gr.Column():
|
| 298 |
-
webcam_input = gr.Image(
|
| 299 |
with gr.Row():
|
| 300 |
webcam_instruction = gr.Textbox(
|
| 301 |
label="Instruction",
|
|
|
|
| 295 |
with gr.Tab("Webcam"):
|
| 296 |
with gr.Row():
|
| 297 |
with gr.Column():
|
| 298 |
+
webcam_input = gr.Image(label="Webcam Input", sources=["webcam"], streaming=True)
|
| 299 |
with gr.Row():
|
| 300 |
webcam_instruction = gr.Textbox(
|
| 301 |
label="Instruction",
|