Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,7 +146,7 @@ with demo:
|
|
| 146 |
|
| 147 |
with gr.TabItem('WebCam'):
|
| 148 |
with gr.Row():
|
| 149 |
-
web_input = gr.Image(
|
| 150 |
img_output_from_webcam = gr.Image()
|
| 151 |
cam_but = gr.Button('Detect')
|
| 152 |
|
|
|
|
| 146 |
|
| 147 |
with gr.TabItem('WebCam'):
|
| 148 |
with gr.Row():
|
| 149 |
+
web_input = gr.Image(type='pil')
|
| 150 |
img_output_from_webcam = gr.Image()
|
| 151 |
cam_but = gr.Button('Detect')
|
| 152 |
|