KarthikAI commited on
Commit
5812be9
·
verified ·
1 Parent(s): 77aca21

Update face_to_prompt.py

Browse files
Files changed (1) hide show
  1. face_to_prompt.py +1 -0
face_to_prompt.py CHANGED
@@ -3,6 +3,7 @@ os.environ["INSIGHTFACE_HOME"] = "/data/.insightface"
3
  os.makedirs("/data/.insightface", exist_ok=True)
4
  os.environ["MPLCONFIGDIR"] = "/tmp/matplotlib"
5
  os.makedirs("/tmp/matplotlib", exist_ok=True)
 
6
 
7
  from deepface import DeepFace
8
  from PIL import Image
 
3
  os.makedirs("/data/.insightface", exist_ok=True)
4
  os.environ["MPLCONFIGDIR"] = "/tmp/matplotlib"
5
  os.makedirs("/tmp/matplotlib", exist_ok=True)
6
+ print("INSIGHTFACE_HOME set to:", os.environ.get("INSIGHTFACE_HOME"))
7
 
8
  from deepface import DeepFace
9
  from PIL import Image