Bläddra i källkod

add swap face test

ming 3 år sedan
förälder
incheckning
8fb248c0c1
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      util/swap_face.py

+ 1 - 1
util/swap_face.py

@@ -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'