Yes, I assure you that file_uploader
works on Streamlit sharing.
Files don’t “go anywhere” per se, they stay in RAM in a BytesIO
buffer. To use the uploaded file, you can pass this buffer (in your code, back
and over
) to whatever function needs to read the bytes. However, note that not all packages accept buffers. If your function happens to be one of them, then you need to save the buffer to an actual file.
Best,
Randy