How to take an integer input from user?

I am looking to take a integer input from the user however the number_input command shows +, - upto float points which wouldn’t be correct for application. Is it possible to just have one integer input?

int_val = st.slider('Seconds', min_value=1, max_value=10, value=5, step=1)
int_val = st.number_input('Seconds', min_value=1, max_value=10, value=5, step=1)
3 Likes