yamildiego commited on
Commit
9ab3234
·
1 Parent(s): 39435fd
Files changed (1) hide show
  1. handler.py +5 -1
handler.py CHANGED
@@ -232,6 +232,8 @@ class EndpointHandler():
232
  # Extract face features
233
  face_info = self.app.get(face_image_cv2)
234
 
 
 
235
  print("error si no hay face")
236
  # if len(face_info) == 0:
237
  # raise gr.Error(
@@ -314,5 +316,7 @@ class EndpointHandler():
314
  width=width,
315
  generator=generator,
316
  ).images
317
-
 
 
318
  return images[0]
 
232
  # Extract face features
233
  face_info = self.app.get(face_image_cv2)
234
 
235
+
236
+ print(len(face_info))
237
  print("error si no hay face")
238
  # if len(face_info) == 0:
239
  # raise gr.Error(
 
316
  width=width,
317
  generator=generator,
318
  ).images
319
+
320
+ print("Inference done!")
321
+
322
  return images[0]