Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,7 +91,9 @@ video_interface = gr.Interface(
|
|
| 91 |
inputs=gr.Video(label="Upload Video"),
|
| 92 |
outputs=[gr.Video(label="Processed Video"), gr.Dataframe(label="Object Counts")],
|
| 93 |
title="Object Detection for Videos",
|
| 94 |
-
description="Upload a video to see the objects detected and their counts."
|
|
|
|
|
|
|
| 95 |
)
|
| 96 |
|
| 97 |
app = gr.TabbedInterface([image_interface, video_interface], ["Image Detection", "Video Detection"])
|
|
|
|
| 91 |
inputs=gr.Video(label="Upload Video"),
|
| 92 |
outputs=[gr.Video(label="Processed Video"), gr.Dataframe(label="Object Counts")],
|
| 93 |
title="Object Detection for Videos",
|
| 94 |
+
description="Upload a video to see the objects detected and their counts.",
|
| 95 |
+
examples=['assetsV/Untitled.mp4', 'assetsV/Untitled1.mp4'] # إضافة الأمثلة هنا
|
| 96 |
+
|
| 97 |
)
|
| 98 |
|
| 99 |
app = gr.TabbedInterface([image_interface, video_interface], ["Image Detection", "Video Detection"])
|