nickmuchi commited on
Commit
c899c95
1 Parent(s): fb0bc61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -159,7 +159,7 @@ with demo:
159
 
160
  with gr.TabItem('WebCam'):
161
  with gr.Row():
162
- #web_input = gr.Image(source='webcam',type='pil',shape=(750,750),streaming=True)
163
  img_output_from_webcam= gr.Image(shape=(750,750))
164
  gr.Image(source="webcam",type='pil',shape=(750,750)).stream(detect_objects, inputs=[options,url_input,img_input,slider_input], outputs =[img_output_from_webcam])
165
 
 
159
 
160
  with gr.TabItem('WebCam'):
161
  with gr.Row():
162
+ web_input = gr.Image(source='webcam',type='pil',shape=(750,750),streaming=True)
163
  img_output_from_webcam= gr.Image(shape=(750,750))
164
  gr.Image(source="webcam",type='pil',shape=(750,750)).stream(detect_objects, inputs=[options,url_input,img_input,slider_input], outputs =[img_output_from_webcam])
165