diff --git a/frigate/detectors/plugins/openvino.py b/frigate/detectors/plugins/openvino.py index aae76eaa5..a6b0a51cd 100644 --- a/frigate/detectors/plugins/openvino.py +++ b/frigate/detectors/plugins/openvino.py @@ -36,10 +36,8 @@ class OvDetector(DetectionApi): ) detector_config.device = "GPU" - if(not os.path.isfile(detector_config.model.path)): - logger.error( - f"OpenVino model file {detector_config.model.path} not found." - ) + if not os.path.isfile(detector_config.model.path): + logger.error(f"OpenVino model file {detector_config.model.path} not found.") raise FileNotFoundError self.interpreter = self.ov_core.compile_model(