|
@@ -3,7 +3,7 @@ import requests
|
|
|
class swap_face():
|
|
|
def __init__(self, imgurl):
|
|
|
self.imgurl = imgurl
|
|
|
- def run():
|
|
|
+ def run(self):
|
|
|
name_hash = str(time.time()).replace('.','')
|
|
|
src_img = 'FaceSwap/src_img/'+name_hash+'.jpg'
|
|
|
sv_path = '../html/swap_save'+name_hash+'.avi'
|