From e246d84dddb7c26646becdcd4b47921391820f27 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 22 Oct 2025 04:54:09 -0600 Subject: [PATCH] Cleanup --- frigate/config/classification.py | 4 +++- web/src/pages/FaceLibrary.tsx | 2 +- web/src/views/classification/ModelTrainingView.tsx | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frigate/config/classification.py b/frigate/config/classification.py index 5ed47f051..5b6cb8cec 100644 --- a/frigate/config/classification.py +++ b/frigate/config/classification.py @@ -197,7 +197,9 @@ class FaceRecognitionConfig(FrigateBaseModel): title="Min face recognitions for the sub label to be applied to the person object.", ) save_attempts: int = Field( - default=200, ge=0, title="Number of face attempts to save in the recent recognitions tab." + default=200, + ge=0, + title="Number of face attempts to save in the recent recognitions tab.", ) blur_confidence_filter: bool = Field( default=True, title="Apply blur quality filter to face confidence." diff --git a/web/src/pages/FaceLibrary.tsx b/web/src/pages/FaceLibrary.tsx index 78946d48e..6ab9f3999 100644 --- a/web/src/pages/FaceLibrary.tsx +++ b/web/src/pages/FaceLibrary.tsx @@ -51,7 +51,7 @@ import { useRef, useState, } from "react"; -import { isDesktop, isMobile, isMobileOnly } from "react-device-detect"; +import { isDesktop, isMobile } from "react-device-detect"; import { Trans, useTranslation } from "react-i18next"; import { LuFolderCheck, diff --git a/web/src/views/classification/ModelTrainingView.tsx b/web/src/views/classification/ModelTrainingView.tsx index 136ba3fb8..a05758feb 100644 --- a/web/src/views/classification/ModelTrainingView.tsx +++ b/web/src/views/classification/ModelTrainingView.tsx @@ -44,7 +44,7 @@ import { useRef, useState, } from "react"; -import { isDesktop, isMobile, isMobileOnly } from "react-device-detect"; +import { isDesktop, isMobile } from "react-device-detect"; import { Trans, useTranslation } from "react-i18next"; import { LuPencil, LuTrash2 } from "react-icons/lu"; import { toast } from "sonner";