nagasurendra commited on
Commit
639daa8
·
verified ·
1 Parent(s): 4527f8f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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").style(columns=3) # Display images in a row
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])