Update app.py
Browse files
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("---")
|