Update app.py
Browse files
app.py
CHANGED
|
@@ -149,7 +149,7 @@ with demo:
|
|
| 149 |
|
| 150 |
with gr.TabItem('WebCam'):
|
| 151 |
with gr.Row():
|
| 152 |
-
web_input = gr.Image(
|
| 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')
|