assile commited on
Commit
28b386d
·
verified ·
1 Parent(s): 0a14ee3

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
run.py CHANGED
@@ -31,7 +31,7 @@ with open(os.environ['FONTCONFIG_FILE'], 'w') as f:
31
  os.environ['INSIGHTFACE_ROOT'] = '/tmp/.insightface'
32
  os.environ["ORT_DISABLE_CUDA"] = "1" # Désactiver CUDA si GPU indisponible
33
 
34
- # ===== Fonction de swap =====
35
 
36
  def swap_face(source_face, target_face, frame):
37
  src_emb = source_face.normed_embedding
 
31
  os.environ['INSIGHTFACE_ROOT'] = '/tmp/.insightface'
32
  os.environ["ORT_DISABLE_CUDA"] = "1" # Désactiver CUDA si GPU indisponible
33
 
34
+ # ===== Fonction de swap de visage =====
35
 
36
  def swap_face(source_face, target_face, frame):
37
  src_emb = source_face.normed_embedding