Update app.py
Browse files
app.py
CHANGED
@@ -147,8 +147,8 @@ def inference_image(img):
|
|
147 |
|
148 |
|
149 |
demo = gr.Interface(
|
150 |
-
fn =
|
151 |
-
inputs = gr.Video(),
|
152 |
outputs = "label",
|
153 |
|
154 |
)
|
|
|
147 |
|
148 |
|
149 |
demo = gr.Interface(
|
150 |
+
fn = inference_video,
|
151 |
+
inputs = gr.Video(sources='webcam',),
|
152 |
outputs = "label",
|
153 |
|
154 |
)
|