Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
·
4bda5a0
1
Parent(s):
ec8f0b0
Update util.py
Browse files
util.py
CHANGED
|
@@ -122,7 +122,7 @@ def get_landmark(filepath, predictor):
|
|
| 122 |
return lm
|
| 123 |
|
| 124 |
|
| 125 |
-
def align_face(filepath, output_size=256, transform_size=
|
| 126 |
|
| 127 |
"""
|
| 128 |
:param filepath: str
|
|
|
|
| 122 |
return lm
|
| 123 |
|
| 124 |
|
| 125 |
+
def align_face(filepath, output_size=256, transform_size=1024, enable_padding=True):
|
| 126 |
|
| 127 |
"""
|
| 128 |
:param filepath: str
|