wangzhibo
2025-08-03 56d194a4300610a17cc3c6682aaf63f039e9c4ab
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from auto_media_publisher.modifiers.face_swap.face_swapper_enhancer import FaceSwapperEnhancer
import time
import os
import warnings
warnings.filterwarnings("ignore")
 
if __name__ == '__main__':
 
 
 
    processor = FaceSwapperEnhancer()
 
    start_time = time.time()
 
    processor.swap("./temp/dancing.mp4", "./temp/dancing-lilizhen-with-new.mp4","./temp/lilizhen.jpg")
 
    print(time.time()-start_time)