fffiloni commited on
Commit
af3200e
β€’
1 Parent(s): c83ae76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -12
app.py CHANGED
@@ -61,19 +61,22 @@ with gr.Blocks(css=css) as demo:
61
 
62
  with gr.Row():
63
  with gr.Column():
 
 
 
 
 
 
 
 
 
 
 
 
 
64
 
65
- source_video_input = gr.Video(label="Portrait Video Source")
66
- gr.Examples(
67
- examples=[
68
- [osp.join(example_video_dir, "d0.mp4")],
69
- [osp.join(example_video_dir, "d18.mp4")],
70
- [osp.join(example_video_dir, "d19.mp4")],
71
- [osp.join(example_video_dir, "d14.mp4")],
72
- [osp.join(example_video_dir, "d6.mp4")],
73
- ],
74
- inputs=[source_video_input],
75
- cache_examples=False,
76
- )
77
  gr.Markdown("β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”")
78
  video_input = gr.Video(label="Driving Portrait Video")
79
  gr.Examples(
 
61
 
62
  with gr.Row():
63
  with gr.Column():
64
+ with gr.Row():
65
+ gr.Examples(
66
+ examples=[
67
+ [osp.join(example_video_dir, "d0.mp4")],
68
+ [osp.join(example_video_dir, "d18.mp4")],
69
+ [osp.join(example_video_dir, "d19.mp4")],
70
+ [osp.join(example_video_dir, "d14.mp4")],
71
+ [osp.join(example_video_dir, "d6.mp4")],
72
+ ],
73
+ inputs=[source_video_input],
74
+ cache_examples=False,
75
+ scale=1
76
+ )
77
 
78
+ source_video_input = gr.Video(label="Portrait Video Source", scale=7)
79
+
 
 
 
 
 
 
 
 
 
 
80
  gr.Markdown("β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”")
81
  video_input = gr.Video(label="Driving Portrait Video")
82
  gr.Examples(