DevBM commited on
Commit
fa5bc88
·
verified ·
1 Parent(s): 0c1f3a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -149,7 +149,7 @@ with demo:
149
 
150
  with gr.TabItem('WebCam'):
151
  with gr.Row():
152
- web_input = gr.Image(source='webcam', type='pil')
153
  img_output_from_webcam = gr.Image()
154
 
155
  cam_but = gr.Button('Detect')
 
149
 
150
  with gr.TabItem('WebCam'):
151
  with gr.Row():
152
+ web_input = gr.inputs.Image(type='pil')
153
  img_output_from_webcam = gr.Image()
154
 
155
  cam_but = gr.Button('Detect')