JBHF commited on
Commit
12a99c1
·
verified ·
1 Parent(s): 4c85a05

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ if "vector" not in st.session_state:
43
 
44
  # st.session_state.loader = WebBaseLoader("https://paulgraham.com/greatwork.html") # ORIGINAL
45
  # st.session_state.docs = st.session_state.loader.load() # ORIGINAL
46
- pdf_file_path = "" # JB
47
  st.session_state.loader = PyPDFLoader(file_path=pdf_file_path).load() # JB
48
  # chunks = self.text_splitter.split_documents(docs)
49
  # chunks = filter_complex_metadata(chunks)
 
43
 
44
  # st.session_state.loader = WebBaseLoader("https://paulgraham.com/greatwork.html") # ORIGINAL
45
  # st.session_state.docs = st.session_state.loader.load() # ORIGINAL
46
+ pdf_file_path = "*.pdf" # JB
47
  st.session_state.loader = PyPDFLoader(file_path=pdf_file_path).load() # JB
48
  # chunks = self.text_splitter.split_documents(docs)
49
  # chunks = filter_complex_metadata(chunks)