Hi all,
Is there any way to upload files larger than 50mb?
Thanks,
Vinh
Hi all,
Is there any way to upload files larger than 50mb?
Thanks,
Vinh
Hi @vnguyendc,
There is a config option, server.maxUploadSize
, that you can set to change the max upload size amount in MB. You can set this either when you run streamlit or in a config.toml file.
To set this when you run streamlit:
streamlit run your_script.py --server.maxUploadSize=1028
(See other configuration options here.)
Caution: The maxUploadSize of 50MB was set to try to ensure a good working experience with Streamlit. So you can set this limit arbitrarily high, but we can’t make any guarantees about how well the Streamlit app will work for you.
The files are stored in your own browser’s memory, so the browser computer’s management of memory regulates how well the application will run given larger files.
Thanks for using Streamlit! Let us know about any and all file uploader issues as you work with it; it’s a very new feature and we’re already working on some enhancements in response to user feedback.
Thanks!
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.