Update app.py
Browse files
app.py
CHANGED
@@ -71,7 +71,6 @@ if "vector" not in st.session_state:
|
|
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("") # JB PyPDFDirectoryLoader("example_data/")
|
74 |
-
|
75 |
# chunks = self.text_splitter.split_documents(docs)
|
76 |
# chunks = filter_complex_metadata(chunks)
|
77 |
|
|
|
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("") # JB PyPDFDirectoryLoader("example_data/")
|
|
|
74 |
# chunks = self.text_splitter.split_documents(docs)
|
75 |
# chunks = filter_complex_metadata(chunks)
|
76 |
|