Iterate over large number of files and track position

I have create an image annotation app and am using st.file_uploader() to select the next file. However the list of files is very long (hundreds) and it is quite fiddly to scroll down the long list and select the next file on each iteration. Is there a good pattern to use here? Can the file_uploader be configured to return to the most recent place in the file list on next call?
Many thanks

You can drag and drop the files from your file manager, that way you should not need to scroll, assuming the file manager can sort the files in the right order.

1 Like

So a workflow I am using now is just to periodically copy the annotated images out of the folder - simple but solves the issue