nickmuchi commited on
Commit
1b9752f
·
1 Parent(s): 929905f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -145,7 +145,7 @@ with demo:
145
 
146
  with gr.TabItem('WebCam'):
147
  with gr.Row():
148
- web_input = gr.Image(source='webcam',type='pil',shape=(750,750))
149
  img_output_from_webcam= gr.Image(shape=(750,750))
150
 
151
  cam_but = gr.Button('Detect')
 
145
 
146
  with gr.TabItem('WebCam'):
147
  with gr.Row():
148
+ web_input = gr.Image(source='webcam',type='pil',shape=(750,750),streaming=True)
149
  img_output_from_webcam= gr.Image(shape=(750,750))
150
 
151
  cam_but = gr.Button('Detect')