Sarvamangalak commited on
Commit
94f6a99
·
verified ·
1 Parent(s): bf8ec31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -282,7 +282,13 @@ with demo:
282
 
283
  with gr.TabItem('WebCam'):
284
  with gr.Row():
285
- web_input = gr.Image(source='webcam', type='pil', height=750, width=750, streaming=True)
 
 
 
 
 
 
286
  img_output_from_webcam = gr.Image(height=750, width=750)
287
  cam_but = gr.Button('Detect')
288
 
 
282
 
283
  with gr.TabItem('WebCam'):
284
  with gr.Row():
285
+ web_input = gr.Image(
286
+ sources=["webcam"],
287
+ type="pil",
288
+ height=750,
289
+ width=750,
290
+ streaming=True
291
+ )
292
  img_output_from_webcam = gr.Image(height=750, width=750)
293
  cam_but = gr.Button('Detect')
294