Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -82,7 +82,7 @@ with gr.Blocks() as demo:
|
|
| 82 |
video_input = gr.Video(label="Upload Video")
|
| 83 |
|
| 84 |
# Define the output area to show processed frames
|
| 85 |
-
gallery_output = gr.Gallery(label="Detection Album", show_label=True
|
| 86 |
|
| 87 |
# Define the function to update frames in the album
|
| 88 |
def update_gallery(video):
|
|
|
|
| 82 |
video_input = gr.Video(label="Upload Video")
|
| 83 |
|
| 84 |
# Define the output area to show processed frames
|
| 85 |
+
gallery_output = gr.Gallery(label="Detection Album", show_label=True, columns=3) # Display images in a row (album)
|
| 86 |
|
| 87 |
# Define the function to update frames in the album
|
| 88 |
def update_gallery(video):
|