Abhi-22 commited on
Commit
de85363
·
verified ·
1 Parent(s): 0dd7780

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.Image(source="webcam", streaming=True, label="Webcam Feed")
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)