Spaces:
Runtime error
Runtime error
piperod
commited on
Commit
•
9f85afd
1
Parent(s):
02cdb95
moving to rgb so its faster
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ with gr.Blocks(title='Shark Patrol',theme=gr.themes.Soft(),live=True,) as demo:
|
|
95 |
with gr.Row():
|
96 |
video_example = gr.Video(source='upload',include_audio=False,stream=True)
|
97 |
with gr.Row():
|
98 |
-
paths = sorted(pathlib.Path('videos_example/').rglob('*
|
99 |
example_preds = gr.Dataset(components=[video_example],
|
100 |
samples=[[path.as_posix()]
|
101 |
for path in paths])
|
|
|
95 |
with gr.Row():
|
96 |
video_example = gr.Video(source='upload',include_audio=False,stream=True)
|
97 |
with gr.Row():
|
98 |
+
paths = sorted(pathlib.Path('videos_example/').rglob('*rgb.mp4'))
|
99 |
example_preds = gr.Dataset(components=[video_example],
|
100 |
samples=[[path.as_posix()]
|
101 |
for path in paths])
|