srinuksv commited on
Commit
dde9364
1 Parent(s): 9ca41bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -59,8 +59,8 @@ def process_video(input_video):
59
 
60
  return output_path
61
 
62
- video_input = gr.inputs.Video(label="Input Video")
63
- processed_video = gr.outputs.Video(label="Processed Video")
64
 
65
  interface = gr.Interface(
66
  fn=process_video,
@@ -71,3 +71,5 @@ interface = gr.Interface(
71
  )
72
 
73
  interface.launch()
 
 
 
59
 
60
  return output_path
61
 
62
+ video_input = gr.Video(label="Input Video")
63
+ processed_video = gr.Image(label="Processed Video") # No 'outputs' submodule
64
 
65
  interface = gr.Interface(
66
  fn=process_video,
 
71
  )
72
 
73
  interface.launch()
74
+
75
+