Is there a way to display the uploaded file tab option when navigating back to a page

I am currently using the upload widget on a page that is part of a multipage streamlit application. When you upload a file there is a little info tab that pops up with the option to remove it from the upload button by clicking on the β€œx” button. Is there a way to save this view in session state so that when I navigate back to the page I can still view it?

The image below shows what I am describing and referring to above.

# Create a file uploader streamlit widget that only accepts 1 file, of csv type, at a time 
uploaded_file = st.file_uploader("Choose a CSV file", type = ['csv'], accept_multiple_files = False)
1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.