KarthikAI commited on
Commit
e8c6b6b
·
verified ·
1 Parent(s): e5ca683

Update face_to_prompt.py

Browse files
Files changed (1) hide show
  1. face_to_prompt.py +4 -0
face_to_prompt.py CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  from deepface import DeepFace
2
  from PIL import Image
3
  import insightface
 
1
+ import os
2
+ os.environ["INSIGHTFACE_HOME"] = "/data/.insightface"
3
+ os.makedirs("/data/.insightface", exist_ok=True)
4
+
5
  from deepface import DeepFace
6
  from PIL import Image
7
  import insightface