Skip to content

Commit

Permalink
Merge pull request #8 from GracefulTabby/feature/6_mimic_the_look_of_…
Browse files Browse the repository at this point in the history
…streamlit_uploader

Feature/6 mimic the look of streamlit uploader
  • Loading branch information
GracefulTabby authored Jan 29, 2024
2 parents 5750632 + d8cd484 commit 496a192
Show file tree
Hide file tree
Showing 5 changed files with 568 additions and 62 deletions.
3 changes: 1 addition & 2 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@

st.subheader("ChunkUploader")
file = uploader(
"World",
uploader_msg="Please upload the file.",
"chunk file uploader (No Limit)",
key="chunk_uploader",
chunk_size=32,
)
Expand Down
3 changes: 1 addition & 2 deletions streamlit_chunk_file_uploader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ def uploader(
disabled: bool = False,
label_visibility: Literal["visible", "hidden", "collapsed"] = "visible",
chunk_size: int = 32,
uploader_msg: str = "Browse Files to upload.",
show_progress: bool = True,
uploader_msg: str = "Drag and drop file here",
) -> Optional[UploadedFile]:
"""Create a new instance of the file uploader component.
Expand Down
Loading

0 comments on commit 496a192

Please sign in to comment.