JBHF commited on
Commit
8284d9b
1 Parent(s): f7abdbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -96,7 +96,8 @@ if "vector" not in st.session_state:
96
  path = '../'
97
  # loader = DirectoryLoader(path, glob="**/*.pdf", loader_cls=TextLoader, loader_kwargs=text_loader_kwargs)
98
  # PyPDFDirectoryLoader (TEST):
99
- loader = PyPDFDirectoryLoader(path, glob="**/*.pdf", loader_cls=TextLoader, loader_kwargs=text_loader_kwargs)
 
100
  docs = loader.load()
101
  st.session_state.docs = docs
102
 
 
96
  path = '../'
97
  # loader = DirectoryLoader(path, glob="**/*.pdf", loader_cls=TextLoader, loader_kwargs=text_loader_kwargs)
98
  # PyPDFDirectoryLoader (TEST):
99
+ # loader = PyPDFDirectoryLoader(path, glob="**/*.pdf", loader_cls=TextLoader, loader_kwargs=text_loader_kwargs)
100
+ loader = PyPDFDirectoryLoader(path, glob="**/*.pdf", loader_kwargs=text_loader_kwargs)
101
  docs = loader.load()
102
  st.session_state.docs = docs
103