Update app.py
Browse files
app.py
CHANGED
@@ -70,7 +70,7 @@ if "vector" not in st.session_state:
|
|
70 |
# pdf_file_path = "*.pdf" # JB
|
71 |
# st.session_state.loader = PyPDFLoader(file_path=pdf_file_path).load() # JB
|
72 |
# st.session_state.loader = PyPDFLoader(*.pdf).load() # JB syntax error *.pdf !
|
73 |
-
st.session_state.loader = PyPDFDirectoryLoader("").load() # JB PyPDFDirectoryLoader("example_data/")
|
74 |
# chunks = self.text_splitter.split_documents(docs)
|
75 |
# chunks = filter_complex_metadata(chunks)
|
76 |
|
|
|
70 |
# pdf_file_path = "*.pdf" # JB
|
71 |
# st.session_state.loader = PyPDFLoader(file_path=pdf_file_path).load() # JB
|
72 |
# st.session_state.loader = PyPDFLoader(*.pdf).load() # JB syntax error *.pdf !
|
73 |
+
st.session_state.loader = PyPDFDirectoryLoader("*.pdf").load() # JB PyPDFDirectoryLoader("example_data/")
|
74 |
# chunks = self.text_splitter.split_documents(docs)
|
75 |
# chunks = filter_complex_metadata(chunks)
|
76 |
|