Streamlit Components that can upload files in chunks.
Check out the GitHub repositories streamlit-chunk-file-uploader.
Files can be uploaded even to servers with file sending size limits.
Streamlit-like functionality and appearance
Installation
pip install streamlit-chunk-file-uploader
Usage
import streamlit as st
from streamlit_chunk_file_uploader import uploader
file = uploader("uploader", key="chunk_uploader", chunk_size=32)
st.write(file)
if file is not None:
st.download_button(
"download",
data=file,
file_name=file.name,
type="primary",
)