File_uploader() doesn't upload multiple files

I’ve got an error trying to upload multiple files: TypeError: file_uploader() got an unexpected keyword argument ‘accept_multiple_files’.

I basically copied the streamlit docs example, what am I doing wrong?

multiple_files = st.file_uploader('label', accept_multiple_files=True)

Hi @AnglewoodJack, welcome to the Streamlit community!

What version of Streamlit are you using? Multiple files support was added in 0.68:

THank you, that helped! I just had the previous one version of streamlite.

2 Likes