Skip to content

Commit

Permalink
remove optional param support for scene_index_id in semantic search
Browse files Browse the repository at this point in the history
  • Loading branch information
0xrohitgarg committed Dec 6, 2024
1 parent ff03be0 commit 149e817
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/director/tools/videodb_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ def semantic_search(
video = self.collection.get_video(video_id)
search_resuls = video.search(query=query, index_type=index_type, **kwargs)
else:
kwargs.pop("scene_index_id", None)
search_resuls = self.collection.search(
query=query, index_type=index_type, **kwargs
)
Expand Down

0 comments on commit 149e817

Please sign in to comment.