Is it possible to support multiple PDF files in App3 Question / Answer with a local PDF?
sense1024 opened this issue · 2 comments
sense1024 commented
Is it possible to support multiple PDF files in App3 Question / Answer with a local PDF?
jexp commented
@tomasonjo I think it should work with a multi-select or and then iterate over the files?
tomasonjo commented
We have tried this. I think that streamlit supports multiple files. You need to set pdf = st.file_uploader("Upload your PDF", type="pdf", accept_multiple_files=True)
and then generate a single list with the text chunks from all PDFs and pass it to Neo4jVector index using from_texts
method.