annikwag commited on
Commit
ec8759c
·
verified ·
1 Parent(s): 90526f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -196,23 +196,19 @@ with col3_2:
196
  with col4_2:
197
  st.empty()
198
  with col5_2:
199
- # Plain reset button (will be moved to row 3 as well)
200
- st.button("Reset Filters", on_click=reset_filters, key="reset_button_row2")
201
 
202
  ###########################################
203
  # Filter Controls - Row 3 (Remaining Filter)
204
  ###########################################
205
- col1_3, col2_3, col3_3, col4_3, col5_3 = st.columns(5)
206
  with col1_3:
207
  # Place the "Show only exact matches" checkbox here
208
  show_exact_matches = st.checkbox("Show only exact matches", key="show_exact_matches")
209
  with col2_3:
210
  st.empty()
211
  with col3_3:
212
- st.empty()
213
- with col4_3:
214
- st.empty()
215
- with col5_3:
216
  # Right-align a more prominent reset button
217
  with st.container():
218
  st.markdown("<div style='text-align: right;'>", unsafe_allow_html=True)
 
196
  with col4_2:
197
  st.empty()
198
  with col5_2:
199
+ st.empty()
200
+
201
 
202
  ###########################################
203
  # Filter Controls - Row 3 (Remaining Filter)
204
  ###########################################
205
+ col1_2, col2_2, col3_2 = st.columns([7, 23, 5])
206
  with col1_3:
207
  # Place the "Show only exact matches" checkbox here
208
  show_exact_matches = st.checkbox("Show only exact matches", key="show_exact_matches")
209
  with col2_3:
210
  st.empty()
211
  with col3_3:
 
 
 
 
212
  # Right-align a more prominent reset button
213
  with st.container():
214
  st.markdown("<div style='text-align: right;'>", unsafe_allow_html=True)