wangzhibo
2025-07-31 c00e9454085ef3e96b98a1ded81aad6a3b95d849
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/buhui.mp4", "./temp/buhui-lilizhen-with-new.mp4","./temp/lilizhen.jpg")
 
    print(time.time()-start_time)