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

Support to upload multiple files #2

Open
taaha opened this issue May 13, 2024 · 5 comments
Open

Support to upload multiple files #2

taaha opened this issue May 13, 2024 · 5 comments

Comments

@taaha
Copy link

taaha commented May 13, 2024

Is it possible to upload multiple pdfs in a single gradio pdf block?

@freddyaboulton
Copy link
Owner

Currently no!

@tatakof
Copy link
Contributor

tatakof commented Jun 25, 2024

Really looking forward to that!

@freddyaboulton
Copy link
Owner

Would anyone like to work on this? One thing I'm not sure about is what the UI would look like for multiple documents.

As a work around, I guess you can use separate pdf components displayed in Tabs. The new @gr.render decorator should make handling an arbitrary number of files easy.

@tatakof
Copy link
Contributor

tatakof commented Jun 26, 2024

Would anyone like to work on this? One thing I'm not sure about is what the UI would look like for multiple documents.

As a work around, I guess you can use separate pdf components displayed in Tabs. The new @gr.render decorator should make handling an arbitrary number of files easy.

Me!
Planning on working on this during the weekend. Any advice/guidelines highly appreciated!

@freddyaboulton
Copy link
Owner

Great to hear! How are you planning on displaying the multiple documents @tatakof ? I guess that would be the trickiest part

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

3 participants