How can I open a specific folder when I click the Browse button?

I want to upload a file on my streamlit app, but when I go to select the file, I need a specific folder to be opened. I am an Ubuntu user.
I attempt the below using key=, but it fails. Always open the Recent files folder.

uploaded_file2 = st.file_uploader(“Choose File”, type=[“jpg”,“png”,“jpeg”], key=“Demo”)

Any ideas on this?

Hi there @ThanosUTH, could you check out this answer here? It seems to be a browser functionality, not streamlit related.

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