IvT-DS jeydipak commited on
Commit
ab316f5
1 Parent(s): 4b2f68e

Update pages/03_🚀_Find_my_show_(FAISS).py (#4)

Browse files

- Update pages/03_🚀_Find_my_show_(FAISS).py (b1c9823e05d4fcc1e5c373548ac1dfb6cd70538f)


Co-authored-by: Alexey Kamaev <[email protected]>

pages/03_🚀_Find_my_show_(FAISS).py CHANGED
@@ -132,7 +132,7 @@ else:
132
  if st.button("Найти сериалы по запросу") and len(df) > 0:
133
 
134
  start_time = time.time()
135
- output_faiss = FAISS_inference(search_table, user_request_emb, top_n)
136
  end_time = time.time()
137
  elapsed_time = end_time - start_time
138
 
 
132
  if st.button("Найти сериалы по запросу") and len(df) > 0:
133
 
134
  start_time = time.time()
135
+ output_faiss = FAISS_inference(search_table, user_request_emb, top_n).drop_duplicates(subset=['links'])
136
  end_time = time.time()
137
  elapsed_time = end_time - start_time
138