Update app.py
Browse files
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')
|