Spaces:
Running
on
Zero
Running
on
Zero
alex
commited on
Commit
·
d22910e
1
Parent(s):
a999fd5
face only
Browse files
app.py
CHANGED
|
@@ -560,14 +560,14 @@ with gr.Blocks(css=css, title="Wan 2.2 Animate --replace", theme=gr.themes.Ocean
|
|
| 560 |
gr.Examples(
|
| 561 |
examples=[
|
| 562 |
|
|
|
|
| 563 |
[
|
| 564 |
-
"./examples/
|
| 565 |
2,
|
| 566 |
-
"./examples/
|
| 567 |
"Video ← Ref Image"
|
| 568 |
],
|
| 569 |
|
| 570 |
-
|
| 571 |
[
|
| 572 |
"./examples/superman.mp4",
|
| 573 |
2,
|
|
@@ -576,9 +576,9 @@ with gr.Blocks(css=css, title="Wan 2.2 Animate --replace", theme=gr.themes.Ocean
|
|
| 576 |
],
|
| 577 |
|
| 578 |
[
|
| 579 |
-
"./examples/
|
| 580 |
2,
|
| 581 |
-
"./examples/
|
| 582 |
"Video ← Ref Image"
|
| 583 |
],
|
| 584 |
|
|
|
|
| 560 |
gr.Examples(
|
| 561 |
examples=[
|
| 562 |
|
| 563 |
+
|
| 564 |
[
|
| 565 |
+
"./examples/okay.mp4",
|
| 566 |
2,
|
| 567 |
+
"./examples/amber.png",
|
| 568 |
"Video ← Ref Image"
|
| 569 |
],
|
| 570 |
|
|
|
|
| 571 |
[
|
| 572 |
"./examples/superman.mp4",
|
| 573 |
2,
|
|
|
|
| 576 |
],
|
| 577 |
|
| 578 |
[
|
| 579 |
+
"./examples/test_example.mp4",
|
| 580 |
2,
|
| 581 |
+
"./examples/ella.png",
|
| 582 |
"Video ← Ref Image"
|
| 583 |
],
|
| 584 |
|
wan/modules/animate/preprocess/process_pipepline.py
CHANGED
|
@@ -303,7 +303,7 @@ class ProcessPipeline():
|
|
| 303 |
key_frame_body_points_list = []
|
| 304 |
for key_frame_index in key_frame_index_list:
|
| 305 |
keypoints_body_list = []
|
| 306 |
-
body_key_points = kp2ds[key_frame_index]['
|
| 307 |
for each_index in key_points_index:
|
| 308 |
each_keypoint = body_key_points[each_index]
|
| 309 |
if None is each_keypoint:
|
|
|
|
| 303 |
key_frame_body_points_list = []
|
| 304 |
for key_frame_index in key_frame_index_list:
|
| 305 |
keypoints_body_list = []
|
| 306 |
+
body_key_points = kp2ds[key_frame_index]['keypoints_face']
|
| 307 |
for each_index in key_points_index:
|
| 308 |
each_keypoint = body_key_points[each_index]
|
| 309 |
if None is each_keypoint:
|