Spaces:
Sleeping
Sleeping
Update pulid/pipeline.py
Browse files- pulid/pipeline.py +1 -1
pulid/pipeline.py
CHANGED
|
@@ -173,7 +173,7 @@ class PuLIDPipeline:
|
|
| 173 |
self.face_helper.get_face_landmarks_5(only_center_face=True)
|
| 174 |
self.face_helper.align_warp_face()
|
| 175 |
if len(self.face_helper.cropped_faces) == 0:
|
| 176 |
-
raise RuntimeError('
|
| 177 |
align_face = self.face_helper.cropped_faces[0]
|
| 178 |
# incase insightface didn't detect face
|
| 179 |
if id_ante_embedding is None:
|
|
|
|
| 173 |
self.face_helper.get_face_landmarks_5(only_center_face=True)
|
| 174 |
self.face_helper.align_warp_face()
|
| 175 |
if len(self.face_helper.cropped_faces) == 0:
|
| 176 |
+
raise RuntimeError('Please upload clear images with visible face')
|
| 177 |
align_face = self.face_helper.cropped_faces[0]
|
| 178 |
# incase insightface didn't detect face
|
| 179 |
if id_ante_embedding is None:
|