Spaces:
Running
Running
Update ui/load_file.py
Browse files- ui/load_file.py +3 -3
ui/load_file.py
CHANGED
|
@@ -164,11 +164,11 @@ def create_streamlit_app(mongo_uri: str, db_name: str, collection_name: str):
|
|
| 164 |
|
| 165 |
col_btn1, col_btn2, col_btn3 = st.columns([2,2,2])
|
| 166 |
with col_btn1:
|
| 167 |
-
search_clicked = st.button("🔍 Search",
|
| 168 |
with col_btn2:
|
| 169 |
-
refresh_clicked = st.button("🔄 Refresh Filters",
|
| 170 |
with col_btn3:
|
| 171 |
-
reset_clicked = st.button("♻️ Reset Page",
|
| 172 |
|
| 173 |
if refresh_clicked:
|
| 174 |
st.session_state["categories_list"], st.session_state["filenames_list"] = get_filter_choices()
|
|
|
|
| 164 |
|
| 165 |
col_btn1, col_btn2, col_btn3 = st.columns([2,2,2])
|
| 166 |
with col_btn1:
|
| 167 |
+
search_clicked = st.button("🔍 Search", width='content')
|
| 168 |
with col_btn2:
|
| 169 |
+
refresh_clicked = st.button("🔄 Refresh Filters", width='content')
|
| 170 |
with col_btn3:
|
| 171 |
+
reset_clicked = st.button("♻️ Reset Page", width='content')
|
| 172 |
|
| 173 |
if refresh_clicked:
|
| 174 |
st.session_state["categories_list"], st.session_state["filenames_list"] = get_filter_choices()
|