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