Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
31 |
with gr.Tab("Webcam Detection"):
|
32 |
with gr.Row():
|
33 |
with gr.Column(scale=2):
|
34 |
-
webcam = gr.
|
35 |
with gr.Column(scale=1):
|
36 |
webcam_status = gr.Textbox(label="Status", value="Ready", interactive=False)
|
37 |
webcam_result = gr.Textbox(label="Detection", interactive=False)
|
|
|
31 |
with gr.Tab("Webcam Detection"):
|
32 |
with gr.Row():
|
33 |
with gr.Column(scale=2):
|
34 |
+
webcam = gr.Webcam(label="Webcam Feed", streaming=True)
|
35 |
with gr.Column(scale=1):
|
36 |
webcam_status = gr.Textbox(label="Status", value="Ready", interactive=False)
|
37 |
webcam_result = gr.Textbox(label="Detection", interactive=False)
|