Sarvamangalak commited on
Commit
f99eb1a
·
verified ·
1 Parent(s): 79d8647

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -188,7 +188,7 @@ with demo:
188
 
189
  with gr.TabItem('WebCam'):
190
  with gr.Row():
191
- web_input = gr.Image(source='webcam',type='pil',height=750, width=750,streaming=True)
192
  img_output_from_webcam= gr.Image(height=750, width=750)
193
 
194
  cam_but = gr.Button('Detect')
 
188
 
189
  with gr.TabItem('WebCam'):
190
  with gr.Row():
191
+ web_input = gr.Image(type="pil", height=750, width=750, sources=["webcam"])
192
  img_output_from_webcam= gr.Image(height=750, width=750)
193
 
194
  cam_but = gr.Button('Detect')