Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ def detect_video(video):
|
|
39 |
|
40 |
# Gradio Interface
|
41 |
interface = gr.Interface(fn=detect_video,
|
42 |
-
inputs=gr.Video(
|
43 |
outputs="json",
|
44 |
live=True,
|
45 |
title="YOLOv5 Video Object Detection",
|
|
|
39 |
|
40 |
# Gradio Interface
|
41 |
interface = gr.Interface(fn=detect_video,
|
42 |
+
inputs=gr.Video(), # Removed 'type' argument
|
43 |
outputs="json",
|
44 |
live=True,
|
45 |
title="YOLOv5 Video Object Detection",
|