Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def process_video(video):
|
|
44 |
|
45 |
# Create a Gradio interface for video upload
|
46 |
iface = gr.Interface(fn=process_video,
|
47 |
-
inputs=gr.
|
48 |
outputs="file",
|
49 |
title="YOLOv8 Object Detection on Video",
|
50 |
description="Upload a video for object detection using YOLOv8")
|
|
|
44 |
|
45 |
# Create a Gradio interface for video upload
|
46 |
iface = gr.Interface(fn=process_video,
|
47 |
+
inputs=gr.Video(label="Upload Video"), # Updated line
|
48 |
outputs="file",
|
49 |
title="YOLOv8 Object Detection on Video",
|
50 |
description="Upload a video for object detection using YOLOv8")
|