remove #type ignore comments

This commit is contained in:
Mehrab Shahbazi 2025-01-02 21:54:59 +03:30
parent c513b26d6d
commit aa47e33cf4

View File

@ -254,10 +254,10 @@ def search_identity(
# detected face is coming from parent, safe to access 1st index
df = dfs[0]
if df.shape[0] == 0: # type: ignore
if df.shape[0] == 0:
return None, None
candidate = df.iloc[0] # type: ignore
candidate = df.iloc[0]
target_path = candidate["identity"]
logger.info(f"Hello, {target_path}")