I'm hoping this isn't an issue anymore, as this function is now generally available within Snowflake in Streamlit! Official docs: https://docs.snowflake.com/en/release-notes/streamlit-in-snowflake#march-12-2025-support-for-st-file-uploader-general-availability