Aquibjaved commited on
Commit
3d0f1e4
·
verified ·
1 Parent(s): 2ce56d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,8 +8,8 @@ def gradio_video_processing(video):
8
  return output_video_path
9
 
10
  # Gradio Interface
11
- video_input = gr.inputs.Video(label="Upload a Video")
12
- video_output = gr.outputs.Video(label="Processed Video with Labels")
13
 
14
  # Create and launch Gradio interface
15
  gr.Interface(fn=gradio_video_processing, inputs=video_input, outputs=video_output, title="Fight Detection in Video").launch()
 
8
  return output_video_path
9
 
10
  # Gradio Interface
11
+ video_input = gr.Video(label="Upload a Video")
12
+ video_output = gr.Video(label="Processed Video with Labels")
13
 
14
  # Create and launch Gradio interface
15
  gr.Interface(fn=gradio_video_processing, inputs=video_input, outputs=video_output, title="Fight Detection in Video").launch()