Read files with dask bag using file_uploader

That appears to be because you are passing a StringIO object to read_text, instead of a filename, which is what it is expecting. You can see an example of using NamedTemporaryFile here, and elsewhere on this forum Get path from file_uploader() - #17 by ennui