Jan Mühlnikel commited on
Commit
4135c81
1 Parent(s): c80b6e0

added extended similarity score and search query optimization

Browse files
__pycache__/similarity_page.cpython-310.pyc CHANGED
Binary files a/__pycache__/similarity_page.cpython-310.pyc and b/__pycache__/similarity_page.cpython-310.pyc differ
 
functions/__pycache__/calc_matches.cpython-310.pyc CHANGED
Binary files a/functions/__pycache__/calc_matches.cpython-310.pyc and b/functions/__pycache__/calc_matches.cpython-310.pyc differ
 
similarity_page.py CHANGED
@@ -26,7 +26,7 @@ def get_process_memory():
26
  # Load Similarity matrix
27
  @st.cache_data
28
  def load_sim_matrix():
29
- loaded_matrix = load_npz("src/similarities.npz")
30
  dense_matrix = loaded_matrix.toarray()
31
 
32
  return dense_matrix
 
26
  # Load Similarity matrix
27
  @st.cache_data
28
  def load_sim_matrix():
29
+ loaded_matrix = load_npz("src/extended_similarities.npz")
30
  dense_matrix = loaded_matrix.toarray()
31
 
32
  return dense_matrix