srijaydeshpande commited on
Commit
fe04fae
·
verified ·
1 Parent(s): f4d8e9b

Update pulid/pipeline.py

Browse files
Files changed (1) hide show
  1. 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('facexlib align face fail')
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: