Spaces:
Running
Running
James McCool
commited on
Commit
·
095a174
1
Parent(s):
851917a
Update salary input fields in app.py: adjust minimum salary values for both lowest and highest salary inputs to enhance user experience and ensure valid input range.
Browse files
app.py
CHANGED
@@ -335,9 +335,9 @@ with tab1:
|
|
335 |
pos_var2 = st.selectbox('Position Filter', options=['All', 'PG', 'SG', 'SF', 'PF', 'C'], key='pos_var2')
|
336 |
col1, col2 = st.columns(2)
|
337 |
with col1:
|
338 |
-
low_salary = st.number_input('Enter Lowest Salary', min_value=
|
339 |
with col2:
|
340 |
-
high_salary = st.number_input('Enter Highest Salary', min_value=
|
341 |
|
342 |
display_container_1 = st.empty()
|
343 |
display_dl_container_1 = st.empty()
|
|
|
335 |
pos_var2 = st.selectbox('Position Filter', options=['All', 'PG', 'SG', 'SF', 'PF', 'C'], key='pos_var2')
|
336 |
col1, col2 = st.columns(2)
|
337 |
with col1:
|
338 |
+
low_salary = st.number_input('Enter Lowest Salary', min_value=300, max_value=15000, value=300, step=100, key='low_salary')
|
339 |
with col2:
|
340 |
+
high_salary = st.number_input('Enter Highest Salary', min_value=300, max_value=25000, value=25000, step=100, key='high_salary')
|
341 |
|
342 |
display_container_1 = st.empty()
|
343 |
display_dl_container_1 = st.empty()
|