Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Jan Mühlnikel
commited on
Commit
·
9c2fca9
1
Parent(s):
52b7f30
added some filter descriptions
Browse files- similarity_page.py +9 -9
similarity_page.py
CHANGED
@@ -141,11 +141,11 @@ def show_multi_matching_page():
|
|
141 |
st.session_state.crs5_option_disabled = True
|
142 |
col1, col2, col3 = st.columns([5, 1, 5])
|
143 |
with col1:
|
144 |
-
st.
|
145 |
st.caption("""
|
146 |
-
Sector
|
147 |
-
with the 5-digit providing more specific detail within the broader 3-digit categories.
|
148 |
-
The SDGs are 17
|
149 |
""")
|
150 |
|
151 |
|
@@ -153,7 +153,7 @@ def show_multi_matching_page():
|
|
153 |
crs3_option = st.multiselect(
|
154 |
'CRS 3',
|
155 |
CRS3_MERGED,
|
156 |
-
placeholder="Select
|
157 |
)
|
158 |
|
159 |
# CRS 5 SELECTION
|
@@ -168,20 +168,20 @@ def show_multi_matching_page():
|
|
168 |
crs5_option = st.multiselect(
|
169 |
'CRS 5',
|
170 |
crs5_list,
|
171 |
-
placeholder="Select CRS 5",
|
172 |
disabled=st.session_state.crs5_option_disabled
|
173 |
)
|
174 |
|
175 |
# SDG SELECTION
|
176 |
sdg_option = st.selectbox(
|
177 |
-
label = 'SDG',
|
178 |
index = None,
|
179 |
-
placeholder = "Select SDG",
|
180 |
options = SDG_NAMES[:-1],
|
181 |
)
|
182 |
|
183 |
# SEARCH BOX
|
184 |
-
query = st.text_input("
|
185 |
|
186 |
with col3:
|
187 |
# COUNTRY SELECTION
|
|
|
141 |
st.session_state.crs5_option_disabled = True
|
142 |
col1, col2, col3 = st.columns([5, 1, 5])
|
143 |
with col1:
|
144 |
+
st.write("Sector Filter")
|
145 |
st.caption("""
|
146 |
+
Sector filters must be applied to see results. The CRS5 and CRS3 classifications organise development aid into categories,
|
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 |
|
|
|
153 |
crs3_option = st.multiselect(
|
154 |
'CRS 3',
|
155 |
CRS3_MERGED,
|
156 |
+
placeholder="Select a CRS 3 code"
|
157 |
)
|
158 |
|
159 |
# CRS 5 SELECTION
|
|
|
168 |
crs5_option = st.multiselect(
|
169 |
'CRS 5',
|
170 |
crs5_list,
|
171 |
+
placeholder="Select a CRS 5 code",
|
172 |
disabled=st.session_state.crs5_option_disabled
|
173 |
)
|
174 |
|
175 |
# SDG SELECTION
|
176 |
sdg_option = st.selectbox(
|
177 |
+
label = 'Sustainable Development Goal (SDG)',
|
178 |
index = None,
|
179 |
+
placeholder = "Select a SDG",
|
180 |
options = SDG_NAMES[:-1],
|
181 |
)
|
182 |
|
183 |
# SEARCH BOX
|
184 |
+
query = st.text_input("Search Query")
|
185 |
|
186 |
with col3:
|
187 |
# COUNTRY SELECTION
|