Mpavan45 commited on
Commit
c66eb9c
·
verified ·
1 Parent(s): b72f7be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,13 +50,13 @@ with col1:
50
  if st.button("Previous Page"):
51
  if current_page == "NLP Techniques":
52
  st.experimental_set_query_params(page=pages[0])
53
- st.experimental_rerun()
54
 
55
  with col2:
56
  if st.button("Next Page"):
57
  if current_page == "Introduction to NLP":
58
  st.experimental_set_query_params(page=pages[1])
59
- st.experimental_rerun()
60
 
61
  # Footer
62
  st.sidebar.write("---")
 
50
  if st.button("Previous Page"):
51
  if current_page == "NLP Techniques":
52
  st.experimental_set_query_params(page=pages[0])
53
+ st.experimental_rerun() # Forces the app to rerun
54
 
55
  with col2:
56
  if st.button("Next Page"):
57
  if current_page == "Introduction to NLP":
58
  st.experimental_set_query_params(page=pages[1])
59
+ st.experimental_rerun() # Forces the app to rerun
60
 
61
  # Footer
62
  st.sidebar.write("---")