VcRlAgent commited on
Commit
24df87c
·
1 Parent(s): 12d52d5

InstantID For retaining facial identity

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -19,6 +19,7 @@ import os, sys, subprocess
19
  if not os.path.exists("instantid"):
20
  print("🔄 Cloning InstantID repository...")
21
  subprocess.run(["git", "clone", "https://github.com/InstantID/InstantID.git"], check=True)
 
22
  sys.path.append(os.path.abspath("instantid"))
23
  else:
24
  sys.path.append(os.path.abspath("instantid"))
 
19
  if not os.path.exists("instantid"):
20
  print("🔄 Cloning InstantID repository...")
21
  subprocess.run(["git", "clone", "https://github.com/InstantID/InstantID.git"], check=True)
22
+ os.rename("InstantID", "instantid")
23
  sys.path.append(os.path.abspath("instantid"))
24
  else:
25
  sys.path.append(os.path.abspath("instantid"))