|
@@ -191,6 +191,7 @@ def gen_avatar(name_hash, imgurl):
|
|
shutil.copy(tmp_avatar_dir+name_hash+'.mp4',avatar_dest+name_hash+'.mp4')
|
|
shutil.copy(tmp_avatar_dir+name_hash+'.mp4',avatar_dest+name_hash+'.mp4')
|
|
os.remove(tmp_avatar_dir+name_hash+'.mp4')
|
|
os.remove(tmp_avatar_dir+name_hash+'.mp4')
|
|
shutil.rmtree('../../face_swap/queueFlag')
|
|
shutil.rmtree('../../face_swap/queueFlag')
|
|
|
|
+ os.remove('../../face_swap/tmp_face/'+name_hash+'.jpg')
|
|
else:
|
|
else:
|
|
break
|
|
break
|
|
|
|
|