Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Jan Mühlnikel
commited on
Commit
·
091bfa0
1
Parent(s):
806b350
added filter options to single matching tab
Browse files- similarity_page.py +5 -3
similarity_page.py
CHANGED
|
@@ -314,7 +314,11 @@ def show_single_matching_page():
|
|
| 314 |
COUNTRY_OPTION_LIST,
|
| 315 |
placeholder="All countries selected "
|
| 316 |
)
|
| 317 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 318 |
# ORGA SELECTION
|
| 319 |
orga_abbreviation = projects_df["orga_abbreviation"].unique()
|
| 320 |
orga_full_names = projects_df["orga_full_name"].unique()
|
|
@@ -326,9 +330,7 @@ def show_single_matching_page():
|
|
| 326 |
placeholder="All organizations selected "
|
| 327 |
)
|
| 328 |
|
| 329 |
-
with col3:
|
| 330 |
different_orga_checkbox_s = st.checkbox("Only matches between different organizations ", value=True)
|
| 331 |
-
filterd_country_only_checkbox_s = st.checkbox("Only matches between filtered countries ", value=True)
|
| 332 |
|
| 333 |
|
| 334 |
#selected_index = None
|
|
|
|
| 314 |
COUNTRY_OPTION_LIST,
|
| 315 |
placeholder="All countries selected "
|
| 316 |
)
|
| 317 |
+
|
| 318 |
+
filterd_country_only_checkbox_s = st.checkbox("Only matches between filtered countries ", value=True)
|
| 319 |
+
|
| 320 |
+
|
| 321 |
+
with col3:
|
| 322 |
# ORGA SELECTION
|
| 323 |
orga_abbreviation = projects_df["orga_abbreviation"].unique()
|
| 324 |
orga_full_names = projects_df["orga_full_name"].unique()
|
|
|
|
| 330 |
placeholder="All organizations selected "
|
| 331 |
)
|
| 332 |
|
|
|
|
| 333 |
different_orga_checkbox_s = st.checkbox("Only matches between different organizations ", value=True)
|
|
|
|
| 334 |
|
| 335 |
|
| 336 |
#selected_index = None
|