瀏覽代碼

add swap face test

ming 3 年之前
父節點
當前提交
2bd1211d8b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      util/swap_face.py

+ 2 - 2
util/swap_face.py

@@ -18,7 +18,7 @@ class swap_face():
         except:
             return '圖片錯誤'
         
-        x = threading.Thread(target=runthreadswap, args=(src_img,sv_path)))
+        x = threading.Thread(target=runthreadswap, args=(src_img,sv_path))
         x.start()
         
         return '生成中請稍候'
@@ -31,7 +31,7 @@ class swap_face():
             time.sleep(5)
             print('waiting...')
         notify_group('成功,影片在:www.choozmo.com:8168/swap_save/'+name_hash+'.avi')
-        
+
     def notify_group(self,msg):
         headers = {
                 "Authorization": "Bearer " + "WekCRfnAirSiSxALiD6gcm0B56EejsoK89zFbIaiZQD",