Update app.py
Browse files
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")
|
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)
|