Skip to content

Commit

Permalink
added reload button function
Browse files Browse the repository at this point in the history
  • Loading branch information
Ddhruv-IOT committed Jan 6, 2023
1 parent cd0d661 commit 12ee28d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions text_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,12 @@ def setter_func():
else:
find_word = None

st.sidebar.header("Click here to exit")
st.sidebar.button("Exit")
st.sidebar.header("Click here to reload")
btn = st.sidebar.button("Reload")

if btn:
print("Click")
st.experimental_rerun()

input_mode(selected_mode, selected_word_count, find_word)

Expand Down

0 comments on commit 12ee28d

Please sign in to comment.