Jan Mühlnikel
commited on
Commit
·
4fa711d
1
Parent(s):
9e1ae23
added some filter descriptions
Browse files- similarity_page.py +7 -2
similarity_page.py
CHANGED
|
@@ -137,6 +137,11 @@ embeddings = load_embeddings_and_index()
|
|
| 137 |
|
| 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:
|
|
@@ -208,8 +213,8 @@ def show_multi_matching_page():
|
|
| 208 |
placeholder="All organizations selected"
|
| 209 |
)
|
| 210 |
|
| 211 |
-
different_orga_checkbox = st.checkbox("Only matches between different organizations")
|
| 212 |
-
filterd_country_only_checkbox = st.checkbox("Only matches between filtered countries")
|
| 213 |
|
| 214 |
|
| 215 |
# CRS CODE LIST
|
|
|
|
| 137 |
|
| 138 |
def show_multi_matching_page():
|
| 139 |
#st.write(f"Current RAM usage of this app: {get_process_memory():.2f} MB")
|
| 140 |
+
st.caption("""
|
| 141 |
+
Multi-project matching allows you to search for projects within the selected filter setting to find another similar project.
|
| 142 |
+
The second matching project must not qualify for the selected filter and is calculated by an AI similarity score comparing the projects.
|
| 143 |
+
This App includes all in the IATI Database listed Projects of following Organizations: BMZ, KFW, GIZ, IAD, ADB, AFDB, EIB, WB, WBTF and the German Federal Foreign Office (AA).
|
| 144 |
+
""")
|
| 145 |
|
| 146 |
col1, col2, col3 = st.columns([10, 1, 10])
|
| 147 |
with col1:
|
|
|
|
| 213 |
placeholder="All organizations selected"
|
| 214 |
)
|
| 215 |
|
| 216 |
+
different_orga_checkbox = st.checkbox("Only matches between different organizations", value=True)
|
| 217 |
+
filterd_country_only_checkbox = st.checkbox("Only matches between filtered countries", value=True)
|
| 218 |
|
| 219 |
|
| 220 |
# CRS CODE LIST
|