Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,7 @@ def preprocess_image(image_array, session_id):
|
|
111 |
saved_image_path = os.path.join(os.environ["PIXEL3DMM_PREPROCESSED_DATA"], session_id, f"{session_id}.png")
|
112 |
img.save(saved_image_path)
|
113 |
|
114 |
-
|
115 |
|
116 |
if "face_detector" not in _model_cache:
|
117 |
|
|
|
111 |
saved_image_path = os.path.join(os.environ["PIXEL3DMM_PREPROCESSED_DATA"], session_id, f"{session_id}.png")
|
112 |
img.save(saved_image_path)
|
113 |
|
114 |
+
import facer
|
115 |
|
116 |
if "face_detector" not in _model_cache:
|
117 |
|