mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-27 09:07:41 +03:00
ruff format
This commit is contained in:
parent
97d282162c
commit
052c33ac15
@ -150,8 +150,7 @@ class ArcfaceEmbedding(BaseEmbedding):
|
||||
|
||||
self.runner = ONNXModelRunner(
|
||||
os.path.join(self.download_path, self.model_file),
|
||||
device=self.config.face_recognition.device
|
||||
or "GPU",
|
||||
device=self.config.face_recognition.device or "GPU",
|
||||
)
|
||||
|
||||
def _preprocess_inputs(self, raw_inputs):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user