Spaces:
Sleeping
Sleeping
fix
Browse files
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
|
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')
|