Skip to content

Commit edfe190

Browse files
committed
Fix centerface type hint
1 parent b80a601 commit edfe190

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deface/deface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def cam_read_iter(reader):
101101
def video_detect(
102102
ipath: str,
103103
opath: str,
104-
centerface: str,
104+
centerface: CenterFace,
105105
threshold: float,
106106
enable_preview: bool,
107107
cam: bool,
@@ -172,7 +172,7 @@ def video_detect(
172172
def image_detect(
173173
ipath: str,
174174
opath: str,
175-
centerface: str,
175+
centerface: CenterFace,
176176
threshold: float,
177177
replacewith: str,
178178
mask_scale: float,

0 commit comments

Comments
 (0)