trminhnam20082002 commited on
Commit
3a3e679
·
1 Parent(s): bb8a468

feat: add main menu options and scripts

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -404,6 +404,9 @@ pages = [
404
  "References",
405
  ]
406
  selected_page = st.sidebar.radio("Go to", pages)
 
 
 
407
 
408
  # Show the appropriate page based on the selection
409
  if selected_page == "Introduction":
 
404
  "References",
405
  ]
406
  selected_page = st.sidebar.radio("Go to", pages)
407
+ if st.sidebar.button("Clear All"):
408
+ # Clears all st.cache_resource caches:
409
+ st.cache_resource.clear()
410
 
411
  # Show the appropriate page based on the selection
412
  if selected_page == "Introduction":