Respected sir/madam,
Kindly help me how to increase the size of file uploadinng into the message input box via path location to 1GB from 200MB . I am able to increase it for file uploading but not for the message input box.
Regards,
Satish
Respected sir/madam,
Kindly help me how to increase the size of file uploadinng into the message input box via path location to 1GB from 200MB . I am able to increase it for file uploading but not for the message input box.
Regards,
Satish
By default, uploaded files are limited to 200MB. You can configure this using the server.maxUploadSize config option. For more info on how to set config options, see Configuration - Streamlit Docs
I am able to dt for st.file_uploader but not for st.text_input.
Kindly help me.
Sorry about that; I misread. What do you mean by āmessage input box?ā If you are inputting a large amount of text, use st.text_area
but I donāt know exactly what you mean about uploading āvia path locationā using some kind of text input having some file size limit (other than file_uploader
).
Sorry ,st.text_input
Let me know if you meant something else about uploading a file āvia path locationā with st.text_input
but if you want to upload by path then use file_uploader
. If you want to paste in a file as plain text, use text_area
.
I want to paste the file location into the input box rather than file uploading widget.I am able to increase file size in file uploader widget from 200MB to 1GB. But when i am trying to paste path location into the input bpx, it is taking only upto 200MB.plz tell me how to increase the size limit for inputting the file location.
I donāt understand what you are doing with the path in st.text_input
. I donāt know how a file path could be greater than 200MB nor what you are doing with a path later in your code that a 200MB limit is being hit.
st.text_input
is just that: text input. Itās not going to return a file or path object. It will return a string. So what exactly are you doing that you are hitting a limit? Can you share a code snippet?
I donāt see how this has anything to do with st.text_input
. You are giving it a path as a string, and it is taking in that path as a string just fine. I donāt see how the size of the file has any bearing on the part of the code you are showing. Which line exactly is causing a problem with the file size? Please show me what you do with st.session_state.filename
later on.
I need to see the lines of code that process the information in st.session_state.filename
to figure out what you are having a problem with.