Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Jan Mühlnikel
commited on
Commit
•
51fba38
1
Parent(s):
664636d
ram test 2
Browse files- similarity_page.py +2 -2
similarity_page.py
CHANGED
@@ -31,6 +31,7 @@ def load_sim_matrix():
|
|
31 |
|
32 |
return dense_matrix
|
33 |
|
|
|
34 |
@st.cache_data
|
35 |
def load_nonsameorga_sim_matrix():
|
36 |
loaded_matrix = load_npz("src/extended_similarities_nonsimorga.npz")
|
@@ -117,8 +118,7 @@ def load_embeddings_and_index():
|
|
117 |
|
118 |
# USE CACHE FUNCTIONS
|
119 |
sim_matrix = load_sim_matrix()
|
120 |
-
|
121 |
-
nonsameorgas_sim_matrix = sim_matrix
|
122 |
projects_df = load_projects()
|
123 |
|
124 |
CRS3_MERGED = getCRS3()
|
|
|
31 |
|
32 |
return dense_matrix
|
33 |
|
34 |
+
# Load Non Similar Orga Matrix
|
35 |
@st.cache_data
|
36 |
def load_nonsameorga_sim_matrix():
|
37 |
loaded_matrix = load_npz("src/extended_similarities_nonsimorga.npz")
|
|
|
118 |
|
119 |
# USE CACHE FUNCTIONS
|
120 |
sim_matrix = load_sim_matrix()
|
121 |
+
nonsameorgas_sim_matrix = load_nonsameorga_sim_matrix()
|
|
|
122 |
projects_df = load_projects()
|
123 |
|
124 |
CRS3_MERGED = getCRS3()
|