piperod commited on
Commit
9f85afd
1 Parent(s): 02cdb95

moving to rgb so its faster

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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('*webm'))
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])