Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Jan Mühlnikel
commited on
Commit
•
e7fe5d8
1
Parent(s):
83972f5
added filter options to single matching tab
Browse files- similarity_page.py +3 -3
similarity_page.py
CHANGED
@@ -285,7 +285,7 @@ def show_single_matching_page():
|
|
285 |
The filters are applied to find the similar projects and are independend of the selected reference project.
|
286 |
""")
|
287 |
|
288 |
-
col1, col2, col3, col4 = st.columns([
|
289 |
with col1:
|
290 |
|
291 |
search_option = st.selectbox(
|
@@ -307,7 +307,7 @@ def show_single_matching_page():
|
|
307 |
options = search_list,
|
308 |
)
|
309 |
|
310 |
-
with
|
311 |
# COUNTRY SELECTION
|
312 |
country_option_s = st.multiselect(
|
313 |
'Country / Countries ',
|
@@ -318,7 +318,7 @@ def show_single_matching_page():
|
|
318 |
filterd_country_only_checkbox_s = st.checkbox("Only matches between filtered countries ", value=True)
|
319 |
|
320 |
|
321 |
-
with
|
322 |
# ORGA SELECTION
|
323 |
orga_abbreviation = projects_df["orga_abbreviation"].unique()
|
324 |
orga_full_names = projects_df["orga_full_name"].unique()
|
|
|
285 |
The filters are applied to find the similar projects and are independend of the selected reference project.
|
286 |
""")
|
287 |
|
288 |
+
col1, col2, col3, col4 = st.columns([10, 1, 10, 10])
|
289 |
with col1:
|
290 |
|
291 |
search_option = st.selectbox(
|
|
|
307 |
options = search_list,
|
308 |
)
|
309 |
|
310 |
+
with col3:
|
311 |
# COUNTRY SELECTION
|
312 |
country_option_s = st.multiselect(
|
313 |
'Country / Countries ',
|
|
|
318 |
filterd_country_only_checkbox_s = st.checkbox("Only matches between filtered countries ", value=True)
|
319 |
|
320 |
|
321 |
+
with col4:
|
322 |
# ORGA SELECTION
|
323 |
orga_abbreviation = projects_df["orga_abbreviation"].unique()
|
324 |
orga_full_names = projects_df["orga_full_name"].unique()
|