lixiang46 commited on
Commit
37cf10b
β€’
1 Parent(s): 3e679cb

change timeout

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -57,7 +57,6 @@ class FaceInfoGenerator():
57
  face_info = sorted(face_info, key=lambda x:(x['bbox'][2]-x['bbox'][0])*(x['bbox'][3]-x['bbox'][1]))[-1] # only use the maximum face
58
  return face_info
59
 
60
- @spaces.GPU
61
  def face_bbox_to_square(bbox):
62
  ## l, t, r, b to square l, t, r, b
63
  l,t,r,b = bbox
 
57
  face_info = sorted(face_info, key=lambda x:(x['bbox'][2]-x['bbox'][0])*(x['bbox'][3]-x['bbox'][1]))[-1] # only use the maximum face
58
  return face_info
59
 
 
60
  def face_bbox_to_square(bbox):
61
  ## l, t, r, b to square l, t, r, b
62
  l,t,r,b = bbox