Junaidb commited on
Commit
1a16865
·
verified ·
1 Parent(s): 0c556be

Update ui.py

Browse files
Files changed (1) hide show
  1. ui.py +4 -2
ui.py CHANGED
@@ -113,12 +113,14 @@ def APP():
113
 
114
  st.session_state.projectname = projectname
115
  st.markdown(f"👤 Logged in as **{st.user.email}**")
116
- if st.button("🚪 Logout"):
 
117
  st.logout()
118
  st.rerun()
119
  else:
120
  st.info("🔑 Please log in")
121
- if st.button("Log in"):
 
122
  st.login("auth0")
123
  st.stop()
124
 
 
113
 
114
  st.session_state.projectname = projectname
115
  st.markdown(f"👤 Logged in as **{st.user.email}**")
116
+ bkey1=ider()
117
+ if st.button("🚪 Logout",key=bkey1):
118
  st.logout()
119
  st.rerun()
120
  else:
121
  st.info("🔑 Please log in")
122
+ bkey2=ider()
123
+ if st.button("Log in",key=bkey2):
124
  st.login("auth0")
125
  st.stop()
126