St.file_uploader w/o widget

Hi,
I have a use case where I would like to upload image files to the server. I prefer to load all image files in a current local directory that is already specified by a pathname.

I am wondering if there a method that allows programmatically uploading a list of files to the server without having to click on the widget.

something like this:
list_images = [‘a’, ‘b’]
st.file_uploader_method(list_images, location_server…)

This should directly load the files up to the server.
I looked at the UploadedFileManager class, but could not find the method for this.

Thanks a lot, best regards

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