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