Update app.py
Browse files
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.
|
12 |
-
video_output = gr.
|
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()
|