yasserrmd commited on
Commit
53d5146
·
verified ·
1 Parent(s): 01e83c8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -97,10 +97,9 @@ def display_journal_with_images(video):
97
 
98
  return display_items
99
 
100
- # Define Gradio Blocks for custom display
101
  with gr.Blocks() as iface:
102
  video_input = gr.Video(label="Upload Video")
103
- output_gallery = gr.Gallery(label="Generated Daily Journal with Images").style(grid=[2], height='auto')
104
  run_button = gr.Button("Generate Journal")
105
 
106
  run_button.click(fn=display_journal_with_images, inputs=video_input, outputs=output_gallery)
 
97
 
98
  return display_items
99
 
 
100
  with gr.Blocks() as iface:
101
  video_input = gr.Video(label="Upload Video")
102
+ output_gallery = gr.Gallery(label="Generated Daily Journal with Images")
103
  run_button = gr.Button("Generate Journal")
104
 
105
  run_button.click(fn=display_journal_with_images, inputs=video_input, outputs=output_gallery)