Update app.py
Browse files
app.py
CHANGED
|
@@ -140,7 +140,7 @@ outputs_video = [
|
|
| 140 |
|
| 141 |
interface_webcam = gr.Interface(
|
| 142 |
fn=show_preds_webcam,
|
| 143 |
-
inputs=gr.Image(sources=["webcam"], streaming=True),
|
| 144 |
outputs=outputs_video,
|
| 145 |
live=True
|
| 146 |
)
|
|
|
|
| 140 |
|
| 141 |
interface_webcam = gr.Interface(
|
| 142 |
fn=show_preds_webcam,
|
| 143 |
+
inputs=gr.Image(sources=["webcam"], streaming=True, type="pil"),
|
| 144 |
outputs=outputs_video,
|
| 145 |
live=True
|
| 146 |
)
|