YinuoGuo27 commited on
Commit
fcbaf18
·
verified ·
1 Parent(s): fa666b3

Update difpoint/croper.py

Browse files
Files changed (1) hide show
  1. difpoint/croper.py +0 -2
difpoint/croper.py CHANGED
@@ -28,12 +28,10 @@ requirements:
28
  import numpy as np
29
  from PIL import Image
30
  import dlib
31
- import spaces
32
 
33
 
34
  class Croper:
35
 
36
- @spaces.GPU
37
  def __init__(self, path_of_lm):
38
  # download model from: http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
39
  self.predictor = dlib.shape_predictor(path_of_lm)
 
28
  import numpy as np
29
  from PIL import Image
30
  import dlib
 
31
 
32
 
33
  class Croper:
34
 
 
35
  def __init__(self, path_of_lm):
36
  # download model from: http://dlib.net/files/shape_predictor_68_face_landmarks.dat.bz2
37
  self.predictor = dlib.shape_predictor(path_of_lm)