proceed=0
def login():
#interface codes for the login screen
global proceed
if st.button('Proceed'):
proceed=1
st.balloons()
if proceed==1:
main()
def main():
#interface codes for the main screen
if __name__=='__main__' :
login()
Hello friends, I have prepared two interface codes, the login screen, and the main screen. When I press the proceed button on the login screen, I want the login interface to disappear and only the main interface to appear.
When you press the proceed button in the current state of the code, both interfaces appear on one screen. I want only the main screen to appear when I press the proceed button. How can I solve this problem?
Could we use show hide: none css property for the login screen?
The login screen :