cleardusk commited on
Commit
44efe98
1 Parent(s): 8f7fee0

doc: add best practice for uploading driving video

Browse files
.gitignore CHANGED
@@ -15,3 +15,4 @@ __pycache__/
15
  # Temporary files or benchmark resources
16
  animations/*
17
  tmp/*
 
 
15
  # Temporary files or benchmark resources
16
  animations/*
17
  tmp/*
18
+ gradio_cached_examples/
assets/gradio_description_animation.md CHANGED
@@ -1,7 +1,17 @@
1
  <span style="font-size: 1.2em;">🔥 To animate the source portrait with the driving video, please follow these steps:</span>
2
  <div style="font-size: 1.2em; margin-left: 20px;">
3
- 1. Specify the options in the <strong>Animation Options</strong> section. We recommend checking the <strong>do crop</strong> option when facial areas occupy a relatively small portion of your image.
4
  </div>
5
  <div style="font-size: 1.2em; margin-left: 20px;">
6
- 2. Press the <strong>🚀 Animate</strong> button and wait for a moment. Your animated video will appear in the result block. This may take a few moments.
 
 
 
 
 
 
 
 
 
 
7
  </div>
 
1
  <span style="font-size: 1.2em;">🔥 To animate the source portrait with the driving video, please follow these steps:</span>
2
  <div style="font-size: 1.2em; margin-left: 20px;">
3
+ 1. In the <strong>Animation Options</strong> section, we recommend enabling the <strong>do crop</strong> option if faces occupy a small portion of your image.
4
  </div>
5
  <div style="font-size: 1.2em; margin-left: 20px;">
6
+ 2. Press the <strong>🚀 Animate</strong> button and wait for a moment. Your animated video will appear in the result block. This may take a few moments.
7
+ </div>
8
+ <div style="font-size: 1.2em; margin-left: 20px;">
9
+ 3. If you want to upload your own driving video, <strong>the best practice</strong>:
10
+
11
+ - Crop it to a 1:1 aspect ratio (e.g., 512x512 or 256x256 pixels).
12
+ - Focus on the head area, similar to the example videos.
13
+ - Minimize shoulder movement.
14
+ - Make sure the first frame of driving video is a frontal face with neutral expression.
15
+
16
+ Auto cropping will be available soon. 🤗
17
  </div>