Update app.py
Browse files
app.py
CHANGED
@@ -403,8 +403,9 @@ if __name__ == "__main__":
|
|
403 |
# label="Generated images", show_label=True, elem_id="gallery"
|
404 |
#).style(preview=True, grid=3, object_fit="scale-down")
|
405 |
vid_bg_out = gr.Video(label="Video with background")
|
406 |
-
|
407 |
-
|
|
|
408 |
|
409 |
run_button.click(fn=infer, inputs=[
|
410 |
video_in, trim_in, text_prompt, background_prompt], outputs=[vid_bg_out, vid_green_out, vid_matte_out])
|
|
|
403 |
# label="Generated images", show_label=True, elem_id="gallery"
|
404 |
#).style(preview=True, grid=3, object_fit="scale-down")
|
405 |
vid_bg_out = gr.Video(label="Video with background")
|
406 |
+
with gr.Row():
|
407 |
+
vid_green_out = gr.Video(label="Video green screen")
|
408 |
+
vid_matte_out = gr.Video(label="Video matte")
|
409 |
|
410 |
run_button.click(fn=infer, inputs=[
|
411 |
video_in, trim_in, text_prompt, background_prompt], outputs=[vid_bg_out, vid_green_out, vid_matte_out])
|