Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
5c35031
1
Parent(s):
824e86e
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ os.makedirs('models', exist_ok=True)
|
|
35 |
#os.system("bzip2 -dk shape_predictor_68_face_landmarks.dat.bz2")
|
36 |
#os.system("mv shape_predictor_68_face_landmarks.dat models/dlibshape_predictor_68_face_landmarks.dat")
|
37 |
|
38 |
-
cropper = Cropper()
|
39 |
|
40 |
device = 'cpu'
|
41 |
|
|
|
35 |
#os.system("bzip2 -dk shape_predictor_68_face_landmarks.dat.bz2")
|
36 |
#os.system("mv shape_predictor_68_face_landmarks.dat models/dlibshape_predictor_68_face_landmarks.dat")
|
37 |
|
38 |
+
cropper = Cropper(face_percent=70)
|
39 |
|
40 |
device = 'cpu'
|
41 |
|