Skip to content

Commit

Permalink
Merge pull request #17 from welikeheon/develop
Browse files Browse the repository at this point in the history
🛠 Changed Deprecated function (st.experimental.rerun())
  • Loading branch information
fedebotu committed Apr 12, 2024
2 parents a1322aa + 2ce0bd9 commit ffa61c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def check_login():
st.session_state.ktrains = ktrains
if check_login():
# refresh page
st.experimental_rerun()
st.rerun()
else:
st.error(_("Login failed"))
else:
Expand All @@ -121,7 +121,7 @@ def check_login():
if logout_button:
st.session_state.ktrains.logout()
st.session_state.ktrains = None
st.experimental_rerun()
st.rerun()
# divider
st.markdown("""---""")

Expand Down

0 comments on commit ffa61c1

Please sign in to comment.