fffiloni commited on
Commit
73c6d2e
β€’
1 Parent(s): fcbd72b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -13
app.py CHANGED
@@ -63,7 +63,7 @@ with gr.Blocks(css=css) as demo:
63
  with gr.Column():
64
  with gr.Row():
65
 
66
- source_video_input = gr.Video(label="Portrait Video Source", scale=7)
67
 
68
  gr.Examples(
69
  examples=[
@@ -80,18 +80,19 @@ with gr.Blocks(css=css) as demo:
80
 
81
 
82
  gr.Markdown("β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”")
83
- video_input = gr.Video(label="Driving Portrait Video")
84
- gr.Examples(
85
- examples=[
86
- [osp.join(example_video_dir, "d0.mp4")],
87
- [osp.join(example_video_dir, "d18.mp4")],
88
- [osp.join(example_video_dir, "d19.mp4")],
89
- [osp.join(example_video_dir, "d14.mp4")],
90
- [osp.join(example_video_dir, "d6.mp4")],
91
- ],
92
- inputs=[video_input],
93
- cache_examples=False,
94
- )
 
95
  with gr.Accordion(open=False, label="source Animation Instructions and Options"):
96
  gr.Markdown(load_description("assets/gradio_description_animation.md"))
97
  with gr.Row():
 
63
  with gr.Column():
64
  with gr.Row():
65
 
66
+ source_video_input = gr.Video(label="Portrait Video Source", scale=8)
67
 
68
  gr.Examples(
69
  examples=[
 
80
 
81
 
82
  gr.Markdown("β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”")
83
+ with gr.Row():
84
+ video_input = gr.Video(label="Driving Portrait Video", scale=8)
85
+ gr.Examples(
86
+ examples=[
87
+ [osp.join(example_video_dir, "d0.mp4")],
88
+ [osp.join(example_video_dir, "d18.mp4")],
89
+ [osp.join(example_video_dir, "d19.mp4")],
90
+ [osp.join(example_video_dir, "d14.mp4")],
91
+ [osp.join(example_video_dir, "d6.mp4")],
92
+ ],
93
+ inputs=[video_input],
94
+ cache_examples=False,
95
+ )
96
  with gr.Accordion(open=False, label="source Animation Instructions and Options"):
97
  gr.Markdown(load_description("assets/gradio_description_animation.md"))
98
  with gr.Row():