chiyoi commited on
Commit
6782e95
1 Parent(s): 139dd3e
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ def fn(video: gr.Video):
26
  process_frame = FrameProcessor(detector, classifier, id_to_name)
27
  clip = clip.fl_image(process_frame)
28
  clip.write_videofile(output, fps=clip.fps, audio_codec='aac', logger=None)
29
- return video
30
 
31
  inputs = gr.Video(sources=['upload'], label='Input Video')
32
  outputs = gr.Video(interactive=False, label='Aeroplane Position and Action Marked')
 
26
  process_frame = FrameProcessor(detector, classifier, id_to_name)
27
  clip = clip.fl_image(process_frame)
28
  clip.write_videofile(output, fps=clip.fps, audio_codec='aac', logger=None)
29
+ return output
30
 
31
  inputs = gr.Video(sources=['upload'], label='Input Video')
32
  outputs = gr.Video(interactive=False, label='Aeroplane Position and Action Marked')