|
@@ -22,7 +22,7 @@ class swap_face():
|
|
|
x.start()
|
|
|
|
|
|
return '生成中請稍候'
|
|
|
- def runthreadswap(self.src_img,sv_path):
|
|
|
+ def runthreadswap(self,src_img,sv_path):
|
|
|
os.system('python3 FaceSwap/main_video.py --src_img '+src_img+' --video_path FaceSwap/nina_noGesture_adj.mp4 --correct_color --save_path '+sv_path)
|
|
|
while True:
|
|
|
print('waiting...')
|