userIdc2024 commited on
Commit
b453e54
·
verified ·
1 Parent(s): df35a2f

Update ui/load_file.py

Browse files
Files changed (1) hide show
  1. 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", use_container_width=True)
168
  with col_btn2:
169
- refresh_clicked = st.button("🔄 Refresh Filters", use_container_width=True)
170
  with col_btn3:
171
- reset_clicked = st.button("♻️ Reset Page", use_container_width=True)
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()