Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should allow only pdf files to be displayed when clicked on browse button. #40

Open
Rajat4Mahajan opened this issue Sep 12, 2023 · 1 comment

Comments

@Rajat4Mahajan
Copy link

Since the logic is written for converting pdf to txt, streamlit uploader should not allow user to see other txt,docx,img etc files.

This can be achieved if we put type="pdf" in st.uploader

@costabm
Copy link

costabm commented Nov 2, 2023

Thank you for your contribution @Rajat4Mahajan!
I have added it to my pull request ( #45 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants