yasserrmd commited on
Commit
da6e971
1 Parent(s): d5b8a83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -104,7 +104,7 @@ def display_journal_with_images(video):
104
  with gr.Blocks() as iface:
105
  video_input = gr.Video(label="Upload Video", height=300)
106
  journal_output = gr.Textbox(label="Generated Daily Journal", lines=10)
107
- image_gallery = gr.Gallery(label="Annotated Frames").style(grid=[2], height="auto")
108
  run_button = gr.Button("Generate Journal")
109
 
110
  run_button.click(fn=display_journal_with_images, inputs=video_input, outputs=[journal_output, image_gallery])
 
104
  with gr.Blocks() as iface:
105
  video_input = gr.Video(label="Upload Video", height=300)
106
  journal_output = gr.Textbox(label="Generated Daily Journal", lines=10)
107
+ image_gallery = gr.Gallery(label="Annotated Frames")
108
  run_button = gr.Button("Generate Journal")
109
 
110
  run_button.click(fn=display_journal_with_images, inputs=video_input, outputs=[journal_output, image_gallery])