cleardusk commited on
Commit
d2524ee
1 Parent(s): 70c178f

fix: trim the driving video

Browse files
.gitattributes CHANGED
@@ -49,3 +49,5 @@ pretrained_weights/insightface/models/buffalo_l/det_10g.onnx filter=lfs diff=lfs
49
  pretrained_weights/liveportrait/landmark.onnx filter=lfs diff=lfs merge=lfs -text
50
  assets/examples/driving/d14.mp4 filter=lfs diff=lfs merge=lfs -text
51
  assets/examples/source/s12.jpg filter=lfs diff=lfs merge=lfs -text
 
 
 
49
  pretrained_weights/liveportrait/landmark.onnx filter=lfs diff=lfs merge=lfs -text
50
  assets/examples/driving/d14.mp4 filter=lfs diff=lfs merge=lfs -text
51
  assets/examples/source/s12.jpg filter=lfs diff=lfs merge=lfs -text
52
+ assets/examples/driving/d14_trim.mp4 filter=lfs diff=lfs merge=lfs -text
53
+ assets/examples/driving/d6_trim.mp4 filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -101,10 +101,10 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
101
  gr.Examples(
102
  examples=[
103
  [osp.join(example_video_dir, "d0.mp4")],
104
- [osp.join(example_video_dir, "d14.mp4")],
105
  [osp.join(example_video_dir, "d5.mp4")],
106
- [osp.join(example_video_dir, "d6.mp4")],
107
  [osp.join(example_video_dir, "d7.mp4")],
 
 
108
  ],
109
  inputs=[video_input],
110
  cache_examples=False,
 
101
  gr.Examples(
102
  examples=[
103
  [osp.join(example_video_dir, "d0.mp4")],
 
104
  [osp.join(example_video_dir, "d5.mp4")],
 
105
  [osp.join(example_video_dir, "d7.mp4")],
106
+ [osp.join(example_video_dir, "d14_trim.mp4")],
107
+ [osp.join(example_video_dir, "d6_trim.mp4")],
108
  ],
109
  inputs=[video_input],
110
  cache_examples=False,
assets/examples/driving/d14_trim.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ddeda3ad54627d893afcbef9ca09d4e6b7b510d6c10407ce89d10f1b0e1cd16
3
+ size 433589
assets/examples/driving/d6_trim.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de9e15eef87674433f2a60972da65e42b55fa154df7beaf4e0ee1cea1939774b
3
+ size 530752
assets/gradio_description_upload.md CHANGED
@@ -1,2 +1,2 @@
1
  ## 🤗 This is the official gradio demo for **LivePortrait**.
2
- <div style="font-size: 1.2em;">Please upload or use webcam to get a <strong>Source Portrait</strong> and upload a <strong>Driving Video</strong>.</div>
 
1
  ## 🤗 This is the official gradio demo for **LivePortrait**.
2
+ <div style="font-size: 1.2em;">Please upload or use webcam to get a <strong>Source Portrait</strong> and upload a <strong>Driving Video</strong> with 1:1 aspect ratio.</div>