I want to pass two values, a min and a max, as variables for my code. I have used for this,
st.number_input, and the problem I have is the same, when I put the minimum value this is automatically launched, and what I want is to put the minimum value, then the maximum and then pass these variables with my “submit” button. How can I stop the automatic launching of these values and only be able to send them with the submit button?
number = st.slider('Insert your min and max value',value=[0.0,1.0]) if(st.button('Submit')): st.write('Your interval is ', number,'-',number)