Skip to content

Commit

Permalink
Merge branch 'embeddings-ui' of https://github.com/blakeblackshear/fr…
Browse files Browse the repository at this point in the history
…igate into embeddings-ui
  • Loading branch information
hawkeye217 committed Oct 16, 2024
2 parents 6664ec6 + a1abaed commit a894cd6
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 578 deletions.
2 changes: 1 addition & 1 deletion frigate/embeddings/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def batch_upsert_description(self, event_descriptions: dict[str, str]) -> ndarra
embeddings = []

for desc in event_descriptions.values():
embeddings.append(self.text_embedding([desc]))
embeddings.append(self.text_embedding([desc])[0])

ids = list(event_descriptions.keys())

Expand Down
Loading

0 comments on commit a894cd6

Please sign in to comment.