Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -74,7 +74,7 @@ def process_video(video):
|
|
74 |
with gr.Blocks() as demo:
|
75 |
with gr.Row():
|
76 |
video_input = gr.Video(label="Upload Video")
|
77 |
-
gallery_output = gr.Gallery(label="Detection Album")
|
78 |
graph_output = gr.Image(label="Detection Counts Graph", type="numpy") # For displaying graph
|
79 |
|
80 |
video_input.change(process_video, inputs=video_input, outputs=[gallery_output, graph_output])
|
|
|
74 |
with gr.Blocks() as demo:
|
75 |
with gr.Row():
|
76 |
video_input = gr.Video(label="Upload Video")
|
77 |
+
gallery_output = gr.Gallery(label="Detection Album") # Removed style() method
|
78 |
graph_output = gr.Image(label="Detection Counts Graph", type="numpy") # For displaying graph
|
79 |
|
80 |
video_input.change(process_video, inputs=video_input, outputs=[gallery_output, graph_output])
|