Jan Mühlnikel
commited on
Commit
·
9e1ae23
1
Parent(s):
aa3820f
added some filter descriptions
Browse files- similarity_page.py +10 -12
similarity_page.py
CHANGED
|
@@ -138,8 +138,7 @@ embeddings = load_embeddings_and_index()
|
|
| 138 |
def show_multi_matching_page():
|
| 139 |
#st.write(f"Current RAM usage of this app: {get_process_memory():.2f} MB")
|
| 140 |
|
| 141 |
-
st.
|
| 142 |
-
col1, col2, col3 = st.columns([5, 1, 5])
|
| 143 |
with col1:
|
| 144 |
st.subheader("Sector Filter (required)")
|
| 145 |
st.caption("""
|
|
@@ -147,8 +146,15 @@ def show_multi_matching_page():
|
|
| 147 |
with the 5-digit level providing more specific detail within the broader 3-digit categories.
|
| 148 |
The SDGs are 17 UN goals that aim to achieve global sustainability, peace and prosperity by 2030. Futhermore you can Search for projects with the query field.
|
| 149 |
""")
|
| 150 |
-
|
| 151 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
# CRS 3 SELECTION
|
| 153 |
crs3_option = st.multiselect(
|
| 154 |
'CRS 3',
|
|
@@ -184,14 +190,6 @@ def show_multi_matching_page():
|
|
| 184 |
query = st.text_input("Search Query")
|
| 185 |
|
| 186 |
with col3:
|
| 187 |
-
st.subheader("Additional Filters")
|
| 188 |
-
st.caption("""
|
| 189 |
-
The additional filters allow for a more detailed search for the Multi-Project Matching.
|
| 190 |
-
""")
|
| 191 |
-
|
| 192 |
-
st.caption(" ")
|
| 193 |
-
st.caption(" ")
|
| 194 |
-
|
| 195 |
# COUNTRY SELECTION
|
| 196 |
country_option = st.multiselect(
|
| 197 |
'Country / Countries',
|
|
|
|
| 138 |
def show_multi_matching_page():
|
| 139 |
#st.write(f"Current RAM usage of this app: {get_process_memory():.2f} MB")
|
| 140 |
|
| 141 |
+
col1, col2, col3 = st.columns([10, 1, 10])
|
|
|
|
| 142 |
with col1:
|
| 143 |
st.subheader("Sector Filter (required)")
|
| 144 |
st.caption("""
|
|
|
|
| 146 |
with the 5-digit level providing more specific detail within the broader 3-digit categories.
|
| 147 |
The SDGs are 17 UN goals that aim to achieve global sustainability, peace and prosperity by 2030. Futhermore you can Search for projects with the query field.
|
| 148 |
""")
|
| 149 |
+
with col3:
|
| 150 |
+
st.subheader("Additional Filters")
|
| 151 |
+
st.caption("""
|
| 152 |
+
The additional filters allow for a more detailed search for the Multi-Project Matching.
|
| 153 |
+
""")
|
| 154 |
+
|
| 155 |
+
st.session_state.crs5_option_disabled = True
|
| 156 |
+
col1, col2, col3 = st.columns([10, 1, 10])
|
| 157 |
+
with col1:
|
| 158 |
# CRS 3 SELECTION
|
| 159 |
crs3_option = st.multiselect(
|
| 160 |
'CRS 3',
|
|
|
|
| 190 |
query = st.text_input("Search Query")
|
| 191 |
|
| 192 |
with col3:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
# COUNTRY SELECTION
|
| 194 |
country_option = st.multiselect(
|
| 195 |
'Country / Countries',
|