How to use session_state on file_upload?

I have 3 pages, page one I use to retrieve the dataset by making file_upload and I display the dataset, then page 2 I use for training the dataset that I loaded earlier on page one, the problem is when I return to page 1 again, the dataset I have show was missing, how to solve this? this is my github repository thank you

Can you show us some minimal code that demonstrates the problem? It is easier to comment on that.

1 Like

I gave my github link, the repository contains 2 files, namely, along with a folder called app which contains 3 files, namely,, and I have summarized it so you can easily find the context. Please help