Skip to content

Commit

Permalink
Fix typo for bug where identical images are sent to GenAI
Browse files Browse the repository at this point in the history
  • Loading branch information
GiorgioUghini committed Dec 17, 2024
1 parent 0a6e396 commit aa2821e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/embeddings/maintainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def _process_finalized(self) -> None:
[snapshot_image]
if event.has_snapshot and camera_config.genai.use_snapshot
else (
[thumbnail for data in self.tracked_events[event_id]]
[data["thumbnail"] for data in self.tracked_events[event_id]]
if len(self.tracked_events.get(event_id, [])) > 0
else [thumbnail]
)
Expand Down

0 comments on commit aa2821e

Please sign in to comment.