sradc commited on
Commit
498eef9
1 Parent(s): b66fa21

fix: number of videos we mention that we index

Browse files
Files changed (1) hide show
  1. video_semantic_search/app.py +2 -1
video_semantic_search/app.py CHANGED
@@ -111,7 +111,8 @@ def main():
111
  st.header("Visual content search over music videos")
112
  st.markdown("_App by Ben Tenmann and Sidney Radcliffe_")
113
  searcher = get_semantic_searcher()
114
- st.text_input(f"What are you looking for? Search over {len(searcher.metadata)} music videos.", key="query")
 
115
  query = st.session_state["query"]
116
  if query:
117
  st.text("Click image to open video")
 
111
  st.header("Visual content search over music videos")
112
  st.markdown("_App by Ben Tenmann and Sidney Radcliffe_")
113
  searcher = get_semantic_searcher()
114
+ num_videos = len(searcher.metadata.video_id.unique())
115
+ st.text_input(f"What are you looking for? Search over {num_videos} music videos.", key="query")
116
  query = st.session_state["query"]
117
  if query:
118
  st.text("Click image to open video")